summaryrefslogtreecommitdiff
path: root/lib/api/kolab_api_service_form_value.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/kolab_api_service_form_value.php')
-rw-r--r--lib/api/kolab_api_service_form_value.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/kolab_api_service_form_value.php b/lib/api/kolab_api_service_form_value.php
index cb7fa34..1bed5f0 100644
--- a/lib/api/kolab_api_service_form_value.php
+++ b/lib/api/kolab_api_service_form_value.php
@@ -1195,7 +1195,7 @@ class kolab_api_service_form_value extends kolab_api_service
}
}
- return (int) $value;
+ return (string) intval($value);
}
private function validate_mailalternateaddress($value, $postdata = array(), $validation_type = null)