From e69a3f20ee1604fb45cc23cbd436121c720adf97 Mon Sep 17 00:00:00 2001 From: Shamim Rezaie Date: Fri, 20 Jul 2018 12:31:08 +1000 Subject: [PATCH] MDL-62897 restore: Fix component name in get_string() --- backup/util/dbops/restore_dbops.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup/util/dbops/restore_dbops.class.php b/backup/util/dbops/restore_dbops.class.php index 9992713aeff..7ef9117e230 100644 --- a/backup/util/dbops/restore_dbops.class.php +++ b/backup/util/dbops/restore_dbops.class.php @@ -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); } }