MDL-21559: fixed force password change for internal and external authentication in user upload.

additional note: initialize user object for required fields (columns)
This commit is contained in:
Rossiani Wijaya 2010-11-05 09:26:05 +00:00
parent c0ae6c5e0c
commit c3231d1d57

View File

@ -208,6 +208,8 @@ if ($formdata = $mform->is_cancelled()) {
if (in_array($key, $upt->columns)) {
$upt->track($key, $value);
}
} else {
$user->$columns[$key] = '';
}
}