Skip to content

Commit

Permalink
Fixed typo causing restore to existing courses not to work. MDL-14549
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Apr 24, 2008
1 parent d25fdff commit be50571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backup/restore_check.html
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit be50571

Please sign in to comment.