MDL-10074 User profile edition uses wrong variable for the (fatal) error message.; patch by Iñaki Arenaza

This commit is contained in:
skodak
2007-06-10 19:07:11 +00:00
parent 89ba83d42f
commit f747fb3eef
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -84,7 +84,7 @@
if (! $authplugin->user_update($user, $userform->get_data(false))) {
// auth update failed, rollback for moodle
update_record('user', addslashes_object($user));
error('Failed to update user data on external auth: '.$usernew->auth.
error('Failed to update user data on external auth: '.$user->auth.
'. See the server logs for more details.');
}
+1 -1
View File
@@ -87,7 +87,7 @@
if (! $authplugin->user_update($user, $userform->get_data(false))) {
// auth update failed, rollback for moodle
update_record('user', addslashes_object($user));
error('Failed to update user data on external auth: '.$usernew->auth.
error('Failed to update user data on external auth: '.$user->auth.
'. See the server logs for more details.');
}