Permalink
Browse files

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

  • Loading branch information...
1 parent d25fdff commit be50571e93dfd78c1623e34f98bca570020f9592 stronk7 committed Apr 24, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;

0 comments on commit be50571

Please sign in to comment.