From: stronk7 Date: Thu, 24 Apr 2008 21:49:07 +0000 (+0000) Subject: Fixed typo causing restore to existing courses not to work. MDL-14549 ; merged from... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=2f1cd7daec84df8bb3af456a5e59602708096d5c;p=moodle.git Fixed typo causing restore to existing courses not to work. MDL-14549 ; merged from 19_STABLE --- 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;