From: Alexander Ebert Date: Sat, 15 Jun 2013 22:41:20 +0000 (+0200) Subject: Fixed usage of date() instead of gmdate() X-Git-Tag: 2.0.0_Beta_4~38 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3dd9b3882fe2758096c6d405113095653e854687;p=GitHub%2FWoltLab%2FWCF.git Fixed usage of date() instead of gmdate() --- diff --git a/wcfsetup/install/files/lib/util/CronjobUtil.class.php b/wcfsetup/install/files/lib/util/CronjobUtil.class.php index 8ad1590061..ece927b94b 100644 --- a/wcfsetup/install/files/lib/util/CronjobUtil.class.php +++ b/wcfsetup/install/files/lib/util/CronjobUtil.class.php @@ -289,7 +289,7 @@ final class CronjobUtil { $addAnDay = false; // compare hour - $hour = intval(date('G', $timeBase)); + $hour = intval(gmdate('G', $timeBase)); $index = self::findKey($hour, $values['hour'], false); if ($index === false) { $index = self::findKey($hour, $values['hour']);