summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-12-16 12:20:52 (GMT)
committerAleksander Machniak <alec@alec.pl>2013-12-16 12:52:29 (GMT)
commit0dd7805c9a3136e134e701138a7a1b089849b755 (patch)
treea136a4d99cfdee125f1d73da9735396e35d85839
parent0f6a407dbbae2458b566a20f89b43e7b2d0aa584 (diff)
downloadkolab-wap-0dd7805c9a3136e134e701138a7a1b089849b755.tar.gz
Fix possible PHP warning
-rw-r--r--lib/Auth/LDAP.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Auth/LDAP.php b/lib/Auth/LDAP.php
index 7736fd3..a7dfe1c 100644
--- a/lib/Auth/LDAP.php
+++ b/lib/Auth/LDAP.php
@@ -1286,7 +1286,7 @@ class LDAP extends Net_LDAP3 {
$subject = $subject->entries(true);
$attributes = $this->attributes_allowed($subject[$subject_dn]['objectclass']);
- $attributes = array_merge($attributes['may'], $attributes['must']);
+ $attributes = array_merge((array)$attributes['may'], (array)$attributes['must']);
foreach ($attributes as $attribute) {
$rights['attributeLevelRights'][$attribute] = $standard_rights;