summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2019-08-02 13:09:38 +0200
committerBackportbot <backportbot-noreply@rullzer.com>2019-08-02 12:08:22 +0000
commitb0c50ef6e9cc0599835a13af492f6150b929333e (patch)
treee39b6365298d01a515da49d0e618715c9cb86cc0
parent271f86cff38d5063f8f0048ba01a1e58113a3542 (diff)
downloadnextcloud-server-b0c50ef6e9cc0599835a13af492f6150b929333e.tar.gz
nextcloud-server-b0c50ef6e9cc0599835a13af492f6150b929333e.zip
fix check for null
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
-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;
}