aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2013-10-23 12:01:45 +0200
committerArthur Schiwon <blizzz@owncloud.com>2013-10-23 12:01:45 +0200
commitd78a80a6892bdf47388329d7d426ccab6a36cf20 (patch)
treed993a6fecb3277f86d457e0a952aeb2dc5f9590f /apps/user_ldap/lib
parent76a195a0be5d36c090c05ce60e02466e9783fea3 (diff)
parent2d14daf36bf6c808e55895c78b42144942b73246 (diff)
downloadnextcloud-server-d78a80a6892bdf47388329d7d426ccab6a36cf20.tar.gz
nextcloud-server-d78a80a6892bdf47388329d7d426ccab6a36cf20.zip
merge master with resolved conflicts
Diffstat (limited to 'apps/user_ldap/lib')
-rw-r--r--apps/user_ldap/lib/access.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/access.php b/apps/user_ldap/lib/access.php
index 6177693c489..0d4b09bac7e 100644
--- a/apps/user_ldap/lib/access.php
+++ b/apps/user_ldap/lib/access.php
@@ -1021,7 +1021,7 @@ class Access extends LDAPUtility {
$bases = $this->sanitizeDN($bases);
foreach($bases as $base) {
$belongsToBase = true;
- if(mb_strripos($dn, $base, 0, 'UTF-8') !== (mb_strlen($dn, 'UTF-8')-mb_strlen($base))) {
+ if(mb_strripos($dn, $base, 0, 'UTF-8') !== (mb_strlen($dn, 'UTF-8')-mb_strlen($base, 'UTF-8'))) {
$belongsToBase = false;
}
if($belongsToBase) {