From 8b8e949cd21fc11369e62883fb0bfd2b10b322bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20S=CC=8Ckoda?= Date: Sun, 29 Jul 2012 16:24:22 +0200 Subject: [PATCH] MDL-34630 fix invalid grade export setting default breaking install --- admin/settings/grades.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/settings/grades.php b/admin/settings/grades.php index 53c9ee3a509..d2cc43ebcb9 100644 --- a/admin/settings/grades.php +++ b/admin/settings/grades.php @@ -60,7 +60,7 @@ if (has_capability('moodle/grade:manage', $systemcontext) $temp->add(new admin_setting_configtext('grade_export_userprofilefields', new lang_string('gradeexportuserprofilefields', 'grades'), new lang_string('gradeexportuserprofilefields_desc', 'grades'), 'firstname,lastname,idnumber,institution,department,email', PARAM_TEXT)); - $temp->add(new admin_setting_configtext('grade_export_customprofilefields', new lang_string('gradeexportcustomprofilefields', 'grades'), new lang_string('gradeexportcustomprofilefields_desc', 'grades'), null, PARAM_TEXT)); + $temp->add(new admin_setting_configtext('grade_export_customprofilefields', new lang_string('gradeexportcustomprofilefields', 'grades'), new lang_string('gradeexportcustomprofilefields_desc', 'grades'), '', PARAM_TEXT)); $temp->add(new admin_setting_configcheckbox('recovergradesdefault', new lang_string('recovergradesdefault', 'grades'), new lang_string('recovergradesdefault_help', 'grades'), 0));