From 0048c2b6135049cd4669ff8208331c3870121f5d Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Tue, 23 Aug 2016 21:30:10 +0200 Subject: [ticket/14748] Make sure config values are casted to int PHPBB3-14748 --- phpBB/phpbb/db/migration/data/v310/timezone.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/phpbb/db/migration/data/v310/timezone.php') diff --git a/phpBB/phpbb/db/migration/data/v310/timezone.php b/phpBB/phpbb/db/migration/data/v310/timezone.php index 1f6b47ad50..b1a7504c06 100644 --- a/phpBB/phpbb/db/migration/data/v310/timezone.php +++ b/phpBB/phpbb/db/migration/data/v310/timezone.php @@ -103,7 +103,7 @@ class timezone extends \phpbb\db\migration\migration */ public function convert_phpbb30_timezone($timezone, $dst) { - $offset = $timezone + $dst; + $offset = (int) $timezone + (int) $dst; switch ($timezone) { -- cgit v1.2.1