Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.5.4, 2.6.1
-
Component/s: Quiz
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_25_STABLE, MOODLE_26_STABLE
-
Fixed Branches:MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
-
Pull from Repository:
-
Pull Master Branch:
-
Pull Master Diff URL:
Description
In the quiz overview report
public function setup_from_user_preferences() {
|
parent::setup_from_user_preferences();
|
|
$this->slotmarks = get_user_preferences('quiz_report_overview_detailedmarks', $this->slotmarks);
|
}
|
|
public function update_user_preferences() {
|
parent::update_user_preferences();
|
|
if (quiz_has_grades($this->quiz)) {
|
set_user_preference('quiz_overview_slotmarks', $this->slotmarks);
|
}
|
}
|
You see, the name used to store and load user preference are not the same.
Attachments
Issue Links
- has a non-specific relationship to
-
MDL-43833 Quiz reports lose settings
-
- Closed
-