fix check for null

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2019-08-02 13:09:38 +02:00
parent bd089021e6
commit ef237f8e36
No known key found for this signature in database
GPG key ID: 7424F1874854DF23

View file

@ -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;
}