]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix check for null 16525/head
authorArthur Schiwon <blizzz@arthur-schiwon.de>
Fri, 2 Aug 2019 11:09:38 +0000 (13:09 +0200)
committerArthur Schiwon <blizzz@arthur-schiwon.de>
Fri, 2 Aug 2019 11:09:38 +0000 (13:09 +0200)
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
apps/user_ldap/lib/Handler/ExtStorageConfigHandler.php

index 3a60b348393242f2118513dcc7a01111e209513b..ac807a63d1371343aabaa9f13afb90b9852cfcdf 100644 (file)
@@ -41,7 +41,7 @@ class ExtStorageConfigHandler extends UserContext implements IConfigHandler {
                $this->placeholder = 'home';
                $user = $this->getUser();
 
-               if($user->getUID() === null) {
+               if($user === null) {
                        return $optionValue;
                }