MDL-17682 added default value for city field; backported from HEAD

This commit is contained in:
skodak
2008-12-29 21:47:27 +00:00
parent c3e7bda77c
commit 7f491dc474
+4
View File
@@ -2870,6 +2870,10 @@ function create_user_record($username, $password, $auth='manual') {
}
}
if (!isset($newuser->city)) {
$newuser->city = '';
}
$newuser->auth = $auth;
$newuser->username = $username;