|
|
|
@ -153,8 +153,7 @@ class UserManager |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//@todo replace this date with the api_get_utc_date function big problem with users that are already registered |
|
|
|
|
$current_date = date('Y-m-d H:i:s', time()); |
|
|
|
|
$current_date = api_get_utc_datetime(); |
|
|
|
|
$sql = "INSERT INTO $table_user |
|
|
|
|
SET lastname = '".Database::escape_string(trim($lastName))."', |
|
|
|
|
firstname = '".Database::escape_string(trim($firstName))."', |
|
|
|
|