MDL-44333 quiz reports: use consitent name for user pref

The Marks for each question setting was not being saved properly as a
user preference.
This commit is contained in:
Tim Hunt
2014-05-17 15:10:55 +01:00
parent ba05f573ca
commit fc36e18fb1
@@ -74,7 +74,7 @@ class quiz_overview_options extends mod_quiz_attempts_report_options {
public function setup_from_user_preferences() {
parent::setup_from_user_preferences();
$this->slotmarks = get_user_preferences('quiz_report_overview_detailedmarks', $this->slotmarks);
$this->slotmarks = get_user_preferences('quiz_overview_slotmarks', $this->slotmarks);
}
public function update_user_preferences() {