From: janw Date: Tue, 31 May 2005 10:16:41 +0000 (+0000) Subject: Added some checks X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a14837e8b3c239c541e241a23abc5808e57ea7d6;p=gosa.git Added some checks git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@530 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/connectivity/class_proxyAccount.inc b/plugins/personal/connectivity/class_proxyAccount.inc index 5e97daa8d..acc6ebf9d 100644 --- a/plugins/personal/connectivity/class_proxyAccount.inc +++ b/plugins/personal/connectivity/class_proxyAccount.inc @@ -173,10 +173,14 @@ class proxyAccount extends plugin /* Save quota values */ if (chkacl ($this->acl, "gosaProxyQuota") == ""){ $old= $this->gosaProxyQuota; - $this->gosaProxyQuota= $_POST["quota_size"].$_POST["quota_unit"]; + if(isset($_POST["quota_size"]) && isset($_POST["quota_unit"])){ + $this->gosaProxyQuota= $_POST["quota_size"].$_POST["quota_unit"]; + } $this->is_modified= ($old != $this->gosaProxyQuota)?TRUE:$this->is_modified; $old= $this->gosaProxyQuotaPeriod; - $this->gosaProxyQuotaPeriod = $_POST["gosaProxyQuotaPeriod"]; + if(isset($_POST["gosaProxyQuotaPeriod"])){ + $this->gosaProxyQuotaPeriod = $_POST["gosaProxyQuotaPeriod"]; + } $this->is_modified= ($old != $this->gosaProxyQuotaPeriod)?TRUE:$this->is_modified; } }