Fixing two get_string() calls when restoring gradebook preferences. MDL-6017

Merged from MOODLE_17_STABLE
This commit is contained in:
stronk7
2007-07-25 21:34:11 +00:00
parent c7ff87ee13
commit e95c8bc282
+2 -2
View File
@@ -1207,7 +1207,7 @@
if (!$preferencescount) {
$continue = false;
if (!defined('RESTORE_SILENTLY')) {
echo '<li>'.get_string('backupwithoutgradebook','grade').'</li>';
echo '<li>'.get_string('backupwithoutgradebook','grades').'</li>';
}
}
@@ -1218,7 +1218,7 @@
if ($pref_rec->value == 0) {
$continue = false;
if (!defined('RESTORE_SILENTLY')) {
echo '<li>'.get_string('respectingcurrentdata','grade').'</li>';
echo '<li>'.get_string('respectingcurrentdata','grades').'</li>';
}
}
}