From d5dea01e509ef5f5aaa1bece2845c4aeb4d716ef Mon Sep 17 00:00:00 2001 From: osmiy Date: Fri, 28 Apr 2006 13:29:58 +0000 Subject: - minor fix (Eugene) git-svn-id: svn://svn.zabbix.com/trunk@2790 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/include/config.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'frontends/php/include/config.inc.php') diff --git a/frontends/php/include/config.inc.php b/frontends/php/include/config.inc.php index f350dc4c..182e20ad 100644 --- a/frontends/php/include/config.inc.php +++ b/frontends/php/include/config.inc.php @@ -772,7 +772,7 @@ function SDI($msg="SDI") { echo "DEBUG INFO: $msg ".BR; } // DEBUG INFO!!! $date = getdate($time); $wday = $date['wday'] == 0 ? 7 : $date['wday']; $curr = $date['hours']*100+$date['minutes']; - +//SDI("find_end: ".date('r',$time)); if(isset($periods[$wday])) { $next_h = -1; @@ -806,7 +806,7 @@ function SDI($msg="SDI") { echo "DEBUG INFO: $msg ".BR; } // DEBUG INFO!!! return $next_time; } } - return $max_time; + return -1; } function validate_period(&$str) -- cgit