From a14837e8b3c239c541e241a23abc5808e57ea7d6 Mon Sep 17 00:00:00 2001 From: janw Date: Tue, 31 May 2005 10:16:41 +0000 Subject: [PATCH] Added some checks git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@530 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/connectivity/class_proxyAccount.inc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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; } } -- 2.30.2