Whoops ... left and old line in there during the last fix

This commit is contained in:
moodler
2003-04-28 02:43:18 +00:00
parent e8a0fc9a4f
commit f0eec3b641
+1 -2
View File
@@ -49,7 +49,6 @@
$usernew->username = trim(moodle_strtolower($usernew->username));
}
$usernew->username = trim(moodle_strtolower($usernew->username));
if (empty($_FILES['imagefile'])) {
$_FILES['imagefile'] = NULL; // To avoid using uninitialised variable later
}
@@ -73,7 +72,7 @@
$usernew->timemodified = time();
if (isadmin()) {
if ($usernew->newpassword) {
if (!empty($usernew->newpassword)) {
$usernew->password = md5($usernew->newpassword);
}
} else {