fixed incorrect user id when updating in uploaduser.php

This commit is contained in:
skodak
2006-09-27 09:50:48 +00:00
parent 4e03aa7a00
commit 3c8ecb0cbb
+1 -1
View File
@@ -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;
}