Merge pull request #368 from emarguin/fix_creation_user_time

Fix creation user time
1.9.x
Yannick Warnier 10 years ago
commit e5c3fc0efb
  1. 3
      main/inc/lib/usermanager.lib.php

@ -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))."',

Loading…
Cancel
Save