From 2f1cd7daec84df8bb3af456a5e59602708096d5c Mon Sep 17 00:00:00 2001 From: stronk7 Date: Thu, 24 Apr 2008 21:49:07 +0000 Subject: [PATCH] Fixed typo causing restore to existing courses not to work. MDL-14549 ; merged from 19_STABLE --- backup/restore_check.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup/restore_check.html b/backup/restore_check.html index ae992d12d1..746b846dfb 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; -- 2.39.5