aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/user.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/user.php')
-rw-r--r--phpBB/includes/user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/user.php b/phpBB/includes/user.php
index 4c62dd93d7..a36d837fbd 100644
--- a/phpBB/includes/user.php
+++ b/phpBB/includes/user.php
@@ -126,7 +126,7 @@ class phpbb_user extends phpbb_session
if (is_numeric($this->tz))
{
// Might still be numeric by chance
- $this->tz = sprintf('Etc/GMT%+d', ($this->tz + ($this->data['user_id'] != ANONYMOUS ? $this->data['user_dst'] : $config['board_dst'])));
+ $this->tz = sprintf('Etc/GMT%+d', $this->tz);
}
$this->tz = new DateTimeZone($this->tz);