MDL-17682 added default value for city field
This commit is contained in:
@@ -2896,6 +2896,10 @@ function create_user_record($username, $password, $auth='manual') {
|
||||
}
|
||||
}
|
||||
|
||||
if (!isset($newuser->city)) {
|
||||
$newuser->city = '';
|
||||
}
|
||||
|
||||
$newuser->auth = $auth;
|
||||
$newuser->username = $username;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user