From: hickert Date: Thu, 10 Jul 2008 06:57:04 +0000 (+0000) Subject: Fixed proxy account (squid). Selection of worktime filtering wasn't working. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e88e52e0632217fc3425f6391c033d937cb8226f;p=gosa.git Fixed proxy account (squid). Selection of worktime filtering wasn't working. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11585 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/squid/personal/connectivity/squid/class_proxyAccount.inc b/gosa-plugins/squid/personal/connectivity/squid/class_proxyAccount.inc index 181b5d4ae..e495ce35b 100644 --- a/gosa-plugins/squid/personal/connectivity/squid/class_proxyAccount.inc +++ b/gosa-plugins/squid/personal/connectivity/squid/class_proxyAccount.inc @@ -77,9 +77,9 @@ class proxyAccount extends plugin } /* Assign working time */ - $smarty->assign("starthour" ,($this->gosaProxyWorkingStart / 60)); + $smarty->assign("starthour" ,floor($this->gosaProxyWorkingStart / 60)); $smarty->assign("startminute", ($this->gosaProxyWorkingStart % 60)); - $smarty->assign("stophour", ($this->gosaProxyWorkingStop / 60)); + $smarty->assign("stophour", floor($this->gosaProxyWorkingStop / 60)); $smarty->assign("stopminute", ($this->gosaProxyWorkingStop % 60)); $hours= array(); for($i=0; $i<24; $i++){