diff options
author | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2016-03-24 17:53:34 +0100 |
---|---|---|
committer | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2016-03-24 17:53:34 +0100 |
commit | dcb6154be7e7f8afcecb17c89dce8841d56dd0af (patch) | |
tree | dac66056bdb1ae9c50f4db0d8c3190cabd1083af /phpBB | |
parent | 1721965c38a2943d370a41098b1b27eaac7c2fbe (diff) | |
parent | 10d4093561d881aa6eeb4d0d1b9a41bb9e73c4f1 (diff) | |
download | forums-dcb6154be7e7f8afcecb17c89dce8841d56dd0af.tar forums-dcb6154be7e7f8afcecb17c89dce8841d56dd0af.tar.gz forums-dcb6154be7e7f8afcecb17c89dce8841d56dd0af.tar.bz2 forums-dcb6154be7e7f8afcecb17c89dce8841d56dd0af.tar.xz forums-dcb6154be7e7f8afcecb17c89dce8841d56dd0af.zip |
Merge pull request #4222 from marc1706/ticket/14536
[ticket/14536] Force unix time stamps to be integer
* marc1706/ticket/14536:
[ticket/14536] Force unix time stamps to be integer
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/phpbb/user.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/user.php b/phpBB/phpbb/user.php index f5ad5096bb..faedd79703 100644 --- a/phpBB/phpbb/user.php +++ b/phpBB/phpbb/user.php @@ -725,7 +725,7 @@ class user extends \phpbb\session $utc = new \DateTimeZone('UTC'); } - $time = new $this->datetime($this, "@$gmepoch", $utc); + $time = new $this->datetime($this, '@' . (int) $gmepoch, $utc); $time->setTimezone($this->timezone); return $time->format($format, $forcedate); |