From e88e52e0632217fc3425f6391c033d937cb8226f Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 10 Jul 2008 06:57:04 +0000 Subject: [PATCH] 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 --- .../squid/personal/connectivity/squid/class_proxyAccount.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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++){ -- 2.30.2