Fixed a typo (not using $CFG->admin)

This commit is contained in:
moodler
2003-12-16 05:31:52 +00:00
parent 098c476559
commit 003296c476
+1 -1
View File
@@ -98,7 +98,7 @@
}
redirect("$CFG->wwwroot/user/view.php?id=$user->id&course=$course->id", get_string("changessaved"));
} else {
redirect("$CFG->wwwroot/admin/user.php", get_string("changessaved"));
redirect("$CFG->wwwroot/$CFG->admin/user.php", get_string("changessaved"));
}
} else {
error("Could not update the user record ($user->id)");