MDL-39412 Prevent developer warnings on upgrade from 24 to master

This commit is contained in:
Damyon Wiese
2013-05-20 12:42:55 +01:00
committed by Tim Hunt
parent c22a0ad980
commit 17bca7a2b9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -4034,7 +4034,7 @@ class admin_setting_question_behaviour extends admin_setting_configselect {
public function load_choices() {
global $CFG;
require_once($CFG->dirroot . '/question/engine/lib.php');
$this->choices = question_engine::get_behaviour_options();
$this->choices = question_engine::get_behaviour_options('');
return true;
}
}