diff options
author | Mario <mario@mariovavti.com> | 2021-03-17 14:37:16 +0100 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-03-17 14:37:16 +0100 |
commit | febf766be0ecd2a50aa8842a90a23dc23763e373 (patch) | |
tree | 71c190cf28b8ea616be865003c937df6f7a7f160 /include | |
parent | 35d9fd4860f1f60150dc9f3ee91d7485c8325d77 (diff) | |
download | volse-hubzilla-febf766be0ecd2a50aa8842a90a23dc23763e373.tar.gz volse-hubzilla-febf766be0ecd2a50aa8842a90a23dc23763e373.tar.bz2 volse-hubzilla-febf766be0ecd2a50aa8842a90a23dc23763e373.zip |
air: make sure we always save date_time in UTC - issue #1544
Diffstat (limited to 'include')
-rw-r--r-- | include/account.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/account.php b/include/account.php index 1c66e1992..a6067a802 100644 --- a/include/account.php +++ b/include/account.php @@ -293,7 +293,7 @@ function create_account_IS_OBSOLETE($arr) { function create_account_from_register($arr) { $result = array('success' => false, 'message' => 'rid:' . $arr['reg_id']); - $now = date('Y-m-d H:i:s'); + $now = datetime_convert(); // reg_flags 0x0020 = REGISTER_AGREED = register request verified by user @ regate $register = q("SELECT * FROM register WHERE reg_id = %d AND (reg_flags & 31) = 0 " |