diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-08-02 13:09:38 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-08-02 13:09:38 +0200 |
commit | ef237f8e3668f7c4587b457dda9da42e83db62c4 (patch) | |
tree | faa693afca118c41d81fbcbf6191b56ebc54e7e0 /apps/user_ldap/lib/Handler | |
parent | bd089021e684a972b48b3b93fb29fc3ae435747a (diff) | |
download | nextcloud-server-ef237f8e3668f7c4587b457dda9da42e83db62c4.tar.gz nextcloud-server-ef237f8e3668f7c4587b457dda9da42e83db62c4.zip |
fix check for null
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/user_ldap/lib/Handler')
-rw-r--r-- | apps/user_ldap/lib/Handler/ExtStorageConfigHandler.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Handler/ExtStorageConfigHandler.php b/apps/user_ldap/lib/Handler/ExtStorageConfigHandler.php index 3a60b348393..ac807a63d13 100644 --- a/apps/user_ldap/lib/Handler/ExtStorageConfigHandler.php +++ b/apps/user_ldap/lib/Handler/ExtStorageConfigHandler.php @@ -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; } |