diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-08-02 13:09:38 +0200 |
---|---|---|
committer | Backportbot <backportbot-noreply@rullzer.com> | 2019-08-02 12:08:22 +0000 |
commit | b0c50ef6e9cc0599835a13af492f6150b929333e (patch) | |
tree | e39b6365298d01a515da49d0e618715c9cb86cc0 | |
parent | 271f86cff38d5063f8f0048ba01a1e58113a3542 (diff) | |
download | nextcloud-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.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; } |