summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2017-02-17 02:06:10 +0100
committerArthur Schiwon <blizzz@arthur-schiwon.de>2017-02-17 02:06:10 +0100
commitf87812fdd658c94c921c537d59eae3d2e424fff6 (patch)
tree3764f4195f79fdaa1faa1516c098bf71f621b9d6 /apps/user_ldap/lib
parentb740a21399fc95f29d02334433bea11559650a56 (diff)
downloadnextcloud-server-f87812fdd658c94c921c537d59eae3d2e424fff6.tar.gz
nextcloud-server-f87812fdd658c94c921c537d59eae3d2e424fff6.zip
Fix determining the UUID attribute, default of the override is null
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
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 9e93ef2ecaa..cc0446ae523 100644
--- a/apps/user_ldap/lib/Access.php
+++ b/apps/user_ldap/lib/Access.php
@@ -1473,7 +1473,7 @@ class Access extends LDAPUtility implements IUserTools {
return true;
}
- if ($uuidOverride !== '' && !$force) {
+ if (is_string($uuidOverride) && trim($uuidOverride) !== '' && !$force) {
$this->connection->$uuidAttr = $uuidOverride;
return true;
}