From ef237f8e3668f7c4587b457dda9da42e83db62c4 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Fri, 2 Aug 2019 13:09:38 +0200 Subject: [PATCH] fix check for null Signed-off-by: Arthur Schiwon --- apps/user_ldap/lib/Handler/ExtStorageConfigHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5