lib/api
Aleksander Machniak
machniak at kolabsys.com
Mon Sep 23 09:27:18 CEST 2013
lib/api/kolab_api_service_form_value.php | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
New commits:
commit 00129d3573a699708b4fd9342fbb61a024190192
Author: Aleksander Machniak <alec at alec.pl>
Date: Mon Sep 23 09:25:21 2013 +0200
Fix bug where current user record wasn't skipped when secondary email addresses
were generated. This created too many entries for secondary addresses
on change in user data (gn, sn)
diff --git a/lib/api/kolab_api_service_form_value.php b/lib/api/kolab_api_service_form_value.php
index bd8256d..12af63c 100644
--- a/lib/api/kolab_api_service_form_value.php
+++ b/lib/api/kolab_api_service_form_value.php
@@ -730,8 +730,9 @@ class kolab_api_service_form_value extends kolab_api_service
// TODO: Check for uniqueness. Not sure what to do if not unique.
$secondary_mail_addresses = Array();
- $auth = Auth::get_instance();
- $conf = Conf::get_instance();
+ $auth = Auth::get_instance();
+ $conf = Conf::get_instance();
+ $unique_attr = $this->unique_attribute();
// Find the authentication mechanism in order to be able to fall back from a
// '[$domain]' section setting for the mail attributes list, to an '[$auth_mech]'
More information about the commits
mailing list