From 3c8ecb0cbbe208ccbe6784883479a07b0b27d9ca Mon Sep 17 00:00:00 2001 From: skodak Date: Wed, 27 Sep 2006 09:50:48 +0000 Subject: [PATCH] fixed incorrect user id when updating in uploaduser.php --- admin/uploaduser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5