-
Bug
-
Resolution: Fixed
-
Minor
-
3.3.3
-
None
-
MOODLE_33_STABLE
-
MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
Line 2859 of the file questionnaire.class.php is counting a boolean value:
if (count(array_intersect($choicetypes, $uniquetypes) > 0 )) {
Better to move the bracket to have something countable
if (count(array_intersect($choicetypes, $uniquetypes)) > 0) {