summaryrefslogtreecommitdiffstats
path: root/lib/api/kolab_api_service_ou.php
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2014-03-27 09:49:05 +0100
committerAleksander Machniak <machniak@kolabsys.com>2014-03-27 09:49:05 +0100
commitc28a93980330f0f2bce80e131100f5f5d676032b (patch)
treebfe72428e4a394430ff2331dfda0be62136acb06 /lib/api/kolab_api_service_ou.php
parent3d20d78200830449c97b7be6085dbd14882612bc (diff)
downloadwebadmin-c28a93980330f0f2bce80e131100f5f5d676032b.tar.gz
Set 'userid' to unique attribute value in system.authenticate response, cs fixes
Diffstat (limited to 'lib/api/kolab_api_service_ou.php')
-rw-r--r--lib/api/kolab_api_service_ou.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/kolab_api_service_ou.php b/lib/api/kolab_api_service_ou.php
index b7c902e..cd4fa28 100644
--- a/lib/api/kolab_api_service_ou.php
+++ b/lib/api/kolab_api_service_ou.php
@@ -136,7 +136,7 @@ class kolab_api_service_ou extends kolab_api_service
// Org. units are special in that they are ldapsubentries.
if (!empty($getdata['id'])) {
- $unique_attr = $this->unique_attribute();
+ $unique_attr = self::unique_attribute();
$unit = $auth->organizationalunit_find_by_attribute(array($unique_attr => $getdata['id']));
if (is_array($unit) && count($unit) == 1) {