From 526329e6972914ac6d62c092da410e349d96d808 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 29 Sep 2014 21:37:15 +0200 Subject: [PATCH] [ticket/13118] Correctly use the provided datetime class PHPBB3-13118 --- phpBB/phpbb/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);