Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

'AllowDiscussions' value being ignored

mcu_hqmcu_hq yippie ki-yay ✭✭✭
edited February 2012 in Vanilla 2.0 - 2.8

I have noticed that in the CategoryDropDown function in class.form, there are no checks performed to see if a discussion is allowed to be added on the selected category. These are the only apparent checks:

  1. $Category['CategoryID'] <= 0

  2. $Category['PermsDiscussionsAdd']

  3. $Category['Archived'])

I am able to fix this error myself, but would like to avoid editing core files. Why is the 'AllowedDiscussions' value in the Category Table not being used here? Also, why is it a tinyint and not a bool type?

Sign In or Register to comment.