-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
1.5
-
None
-
All
-
MOODLE_15_STABLE
Following function declaration generates syntax error:
/**
- Array of names of quizzes a category (and optionally its childs) appears in
*
- @return array Array of quiz names (with quiz->id as array keys)
- @param integer Quiz category id
- @param boolean Examine category childs recursively
- @param array Array of categories (id) to exclude
*/
function quizzes_category_used($id, $recursive=false, &$excluded = array()) {
(currently line 2504)
You can't do that! The optional parameter is a pass-by-reference, that won't work. Not sure what was intended though!