MDL-10210 Removed the loading of the $CFG versions of the preferences when the user versions are set to default. This means that a value set to default always stays at default unless it is changed manually.

This commit is contained in:
nicolasconnault 2007-07-26 07:58:00 +00:00
parent eabbdb0ee5
commit 41b477217d

View File

@ -96,7 +96,7 @@ class grader_report_preferences_form extends moodleform {
$full_pref = 'grade_report_' . $pref;
$pref_value = get_user_preferences($full_pref, $CFG->$full_pref);
$pref_value = get_user_preferences($full_pref);
$options = null;
if (is_array($type)) {