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

This commit is contained in:
Damyon Wiese
2013-05-09 11:26:25 +08:00
parent cbdb09a9ef
commit a04e97ef0c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -4142,7 +4142,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;
}
}