summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2014-09-19 17:43:13 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2014-09-19 17:43:13 (GMT)
commit8204d51e0fdc38746ebe4a3da0e25c0e93c6a66f (patch)
treec466f4457c6ad8209412a4ccfd2f363892c28df7
parent18619fbf94fc92c597d3e8ff14cc11a84c18fffe (diff)
downloadkolab-wap-8204d51e0fdc38746ebe4a3da0e25c0e93c6a66f.tar.gz
Fix PHP warning in user.info if user was not found
-rw-r--r--lib/api/kolab_api_service_user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/kolab_api_service_user.php b/lib/api/kolab_api_service_user.php
index 615ad73..7f4707a 100644
--- a/lib/api/kolab_api_service_user.php
+++ b/lib/api/kolab_api_service_user.php
@@ -166,7 +166,7 @@ class kolab_api_service_user extends kolab_api_service
$auth = Auth::get_instance();
$result = $auth->user_info($getdata['id']);
- $result_dn = key($result);
+ $result_dn = @key($result);
Log::trace("user.info on " . $getdata['id'] . " result: " . var_export($result, TRUE));
// normalize result