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); } }