'AllowDiscussions' value being ignored
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:
$Category['CategoryID'] <= 0
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?