summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/api/kolab_api_service_form_value.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/api/kolab_api_service_form_value.php b/lib/api/kolab_api_service_form_value.php
index f85f45d..873c662 100644
--- a/lib/api/kolab_api_service_form_value.php
+++ b/lib/api/kolab_api_service_form_value.php
@@ -467,7 +467,7 @@ class kolab_api_service_form_value extends kolab_api_service
$auth = Auth::get_instance($_SESSION['user']->get_domain());
$conf = Conf::get_instance();
-
+
$unique_attr = $conf->get('unique_attribute');
if (!$unique_attr) {
$unique_attr = 'nsuniqueid';
@@ -739,6 +739,11 @@ class kolab_api_service_form_value extends kolab_api_service
}
}
+ private function validate_mailquota($value)
+ {
+ return (int)($value);
+ }
+
private function validate_mailalternateaddress($value)
{
$auth = Auth::get_instance();