Fixed usage of date() instead of gmdate()
authorAlexander Ebert <ebert@woltlab.com>
Sat, 15 Jun 2013 22:41:20 +0000 (00:41 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Sat, 15 Jun 2013 22:41:20 +0000 (00:41 +0200)
wcfsetup/install/files/lib/util/CronjobUtil.class.php

index 8ad15900613917cc202333dccd07aa1ed508311f..ece927b94bb46a0944b7e7963d1792227b0b6e5a 100644 (file)
@@ -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']);