Fixed typo causing restore to existing courses not to work. MDL-14549

This commit is contained in:
stronk7
2008-04-24 21:47:40 +00:00
parent d25fdffd6e
commit be50571e93
+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;