Fixed typo causing restore to existing courses not to work. MDL-14549 ; merged from 19_STABLE

This commit is contained in:
stronk7
2008-04-24 21:49:07 +00:00
parent 05ac14ca68
commit 2f1cd7daec
+1 -1
View File
@@ -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;