lib/api
Aleksander Machniak
machniak at kolabsys.com
Mon Oct 22 14:02:52 CEST 2012
lib/api/kolab_api_service_form_value.php | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
New commits:
commit aef4a7e79490810dd36484ce5e68cd860a1c049f
Author: Aleksander Machniak <alec at alec.pl>
Date: Mon Oct 22 14:02:30 2012 +0200
Fix return value of select_options_preferredlanguage()
diff --git a/lib/api/kolab_api_service_form_value.php b/lib/api/kolab_api_service_form_value.php
index b6c68b2..9e213f6 100644
--- a/lib/api/kolab_api_service_form_value.php
+++ b/lib/api/kolab_api_service_form_value.php
@@ -862,10 +862,9 @@ class kolab_api_service_form_value extends kolab_api_service
$default = $postdata['preferredlanguage'];
}
- return array(
- 'list' => $options,
- 'default' => $default,
- );
+ $options['default'] = $default;
+
+ return $options;
}
private function validate_alias($value)
More information about the commits
mailing list