]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed a typo (not using $CFG->admin)
authormoodler <moodler>
Tue, 16 Dec 2003 05:31:52 +0000 (05:31 +0000)
committermoodler <moodler>
Tue, 16 Dec 2003 05:31:52 +0000 (05:31 +0000)
user/edit.php

index 7cc890674e41946bb5ef2097b4997042c30eb3eb..c65a7b723467e8a47812e2ab02d168dca09d1883 100644 (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)");