Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2019-08-02 14:09:38 +0300
committerArthur Schiwon <blizzz@arthur-schiwon.de>2019-08-02 14:09:38 +0300
commitef237f8e3668f7c4587b457dda9da42e83db62c4 (patch)
treefaa693afca118c41d81fbcbf6191b56ebc54e7e0 /apps/user_ldap/lib
parentbd089021e684a972b48b3b93fb29fc3ae435747a (diff)
fix check for null
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/user_ldap/lib')
-rw-r--r--apps/user_ldap/lib/Handler/ExtStorageConfigHandler.php2
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;
}