diff options
| author | Joas Schilling <nickvergessen@gmx.de> | 2014-09-29 21:37:15 +0200 |
|---|---|---|
| committer | Joas Schilling <nickvergessen@gmx.de> | 2014-09-30 11:58:02 +0200 |
| commit | 526329e6972914ac6d62c092da410e349d96d808 (patch) | |
| tree | b071731ce237280f4e80331ee1f21f64a2aadb19 | |
| parent | 71ac6ab2b87ec1d606d5669b930ac4c7164e9b11 (diff) | |
| download | forums-526329e6972914ac6d62c092da410e349d96d808.tar forums-526329e6972914ac6d62c092da410e349d96d808.tar.gz forums-526329e6972914ac6d62c092da410e349d96d808.tar.bz2 forums-526329e6972914ac6d62c092da410e349d96d808.tar.xz forums-526329e6972914ac6d62c092da410e349d96d808.zip | |
[ticket/13118] Correctly use the provided datetime class
PHPBB3-13118
| -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 ea98034434..882e9cef26 100644 --- a/phpBB/phpbb/user.php +++ b/phpBB/phpbb/user.php @@ -717,7 +717,7 @@ class user extends \phpbb\session $utc = new \DateTimeZone('UTC'); } - $time = new \phpbb\datetime($this, "@$gmepoch", $utc); + $time = new $this->datetime($this, "@$gmepoch", $utc); $time->setTimezone($this->timezone); return $time->format($format, $forcedate); |
