]> git.mjollnir.org Git - moodle.git/commitdiff
fixed incorrect user id when updating in uploaduser.php
authorskodak <skodak>
Wed, 27 Sep 2006 09:50:48 +0000 (09:50 +0000)
committerskodak <skodak>
Wed, 27 Sep 2006 09:50:48 +0000 (09:50 +0000)
admin/uploaduser.php

index d50b01be6a4b7bb5f9835f9510dd257c2b042a6d..9ce43be4f728b01fb9e171bb6a4b96129ed3121f 100755 (executable)
@@ -268,7 +268,7 @@ if ($um->preprocess_files() && confirm_sesskey()) {
                             //Record not added - user is already registered
                             //In this case, output userid from previous registration
                             //This can be used to obtain a list of userids for existing users
-                            notify("$user->id ".get_string('usernotaddedregistered', 'error', $username));
+                            notify("$olduser->id ".get_string('usernotaddedregistered', 'error', $username));
                             $userserrors++;
                             continue;
                         }