From d57358f50c8300eec2370e5f0cbae276fc5d72ee Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 14 Jul 2010 07:17:00 +0000 Subject: [PATCH] Updated post handling, enables utf-8 support. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19002 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../personal/connectivity/squid/class_proxyAccount.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gosa-plugins/squid/personal/connectivity/squid/class_proxyAccount.inc b/gosa-plugins/squid/personal/connectivity/squid/class_proxyAccount.inc index ba5e02e9f..b1c93e36e 100644 --- a/gosa-plugins/squid/personal/connectivity/squid/class_proxyAccount.inc +++ b/gosa-plugins/squid/personal/connectivity/squid/class_proxyAccount.inc @@ -91,9 +91,9 @@ class proxyAccount extends plugin /* Assign quota values */ $smarty->assign("quota_unit", array("k" => _("KB"), "m" => _("MB"), "g" => _("GB"))); $smarty->assign("quota_time", array("h" => _("hour"), "d" => _("day"), "w" => _("week"), "m" => _("month"))); - $smarty->assign("gosaProxyQuotaPeriod", $this->gosaProxyQuotaPeriod); - $smarty->assign("quota_size", preg_replace("/[a-z]$/i", "", $this->gosaProxyQuota)); - $smarty->assign("quota_u", preg_replace("/^[0-9]+/", "", $this->gosaProxyQuota)); + $smarty->assign("gosaProxyQuotaPeriod", set_post($this->gosaProxyQuotaPeriod)); + $smarty->assign("quota_size", set_post(preg_replace("/[a-z]$/i", "", $this->gosaProxyQuota))); + $smarty->assign("quota_u", set_post(preg_replace("/^[0-9]+/", "", $this->gosaProxyQuota))); if ($this->is_account){ $smarty->assign("proxyState", "checked"); } else { -- 2.30.2