diff --git a/backup/restore_check.html b/backup/restore_check.html index 7b1c45a1b5a..cad0ff1c0af 100644 --- a/backup/restore_check.html +++ b/backup/restore_check.html @@ -215,7 +215,7 @@ //If the user is a teacher and not a creator or we are restoring from within SITEID - if (!user_can_create_courses() || $id = SITEID) { + if (!user_can_create_courses() || $id == SITEID) { $restore->course_id = $id; if ($restore->restoreto == 0) { $restore->deleting = true;