From: skodak Date: Wed, 27 Sep 2006 09:50:48 +0000 (+0000) Subject: fixed incorrect user id when updating in uploaduser.php X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=3c8ecb0cbbe208ccbe6784883479a07b0b27d9ca;p=moodle.git fixed incorrect user id when updating in uploaduser.php --- diff --git a/admin/uploaduser.php b/admin/uploaduser.php index d50b01be6a..9ce43be4f7 100755 --- a/admin/uploaduser.php +++ b/admin/uploaduser.php @@ -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; }