From 2cef94af74cb0e1be45360e6f5a2f7bd9bd061be Mon Sep 17 00:00:00 2001 From: cookie Date: Fri, 28 Dec 2007 12:38:18 +0000 Subject: zeitzohne instellbar git-svn-id: svn://svn.cccv.de/engel-system@256 29ba0400-6e00-0410-a75a-ca02368028f8 --- services/cron_dect.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'services/cron_dect.php') diff --git a/services/cron_dect.php b/services/cron_dect.php index c0ee8761..fba53eb2 100755 --- a/services/cron_dect.php +++ b/services/cron_dect.php @@ -24,8 +24,8 @@ if( $DebugDECT) $SQL .= "WHERE (Shifts.DateS>'2007-07-09 09:45:00' AND ". "Shifts.DateS<='2007-07-09 11:00:00');"; else - $SQL .= "WHERE ((`Shifts`.`DateS`>'". gmdate("Y-m-d H:i:s", time()+3600+120+3600). "') AND ". - "(`Shifts`.`DateS`<='". gmdate("Y-m-d H:i:s", time()+3600+120+3600+$StartTimeBeforEvent). "') );"; + $SQL .= "WHERE ((`Shifts`.`DateS`>'". gmdate("Y-m-d H:i:s", time()+120+$gmdateOffset). "') AND ". + "(`Shifts`.`DateS`<='". gmdate("Y-m-d H:i:s", time()+120+$gmdateOffset+$StartTimeBeforEvent). "') );"; $Erg = mysql_query($SQL, $con); echo mysql_error($con); -- cgit v1.2.3-54-g00ecf