MDL-62897 restore: Fix component name in get_string()

This commit is contained in:
Shamim Rezaie
2018-07-23 14:37:48 +10:00
parent 99d1a03857
commit e69a3f20ee
+1 -1
View File
@@ -723,7 +723,7 @@ abstract class restore_dbops {
// 8) Check if backup is made on Moodle >= 3.5 and there are more than one top-level category in the context.
if ($after35 && $topcats > 1) {
$errors[] = get_string('restoremultipletopcats', 'questions', $contextid);
$errors[] = get_string('restoremultipletopcats', 'question', $contextid);
}
}