fix check for null

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
pull/16525/head
Arthur Schiwon 7 years ago
parent bd089021e6
commit ef237f8e36
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
  1. 2
      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;
}

Loading…
Cancel
Save