summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8a32bcd)
raw | patch | inline | side by side (parent: 8a32bcd)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 31 May 2005 10:16:41 +0000 (10:16 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 31 May 2005 10:16:41 +0000 (10:16 +0000) |
plugins/personal/connectivity/class_proxyAccount.inc | patch | blob | history |
diff --git a/plugins/personal/connectivity/class_proxyAccount.inc b/plugins/personal/connectivity/class_proxyAccount.inc
index 5e97daa8dd5be8ae48baa406007f46716eade90e..acc6ebf9dec2e2a3803490f04be06d54eda42fbc 100644 (file)
/* 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;
}
}