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 committed by Backportbot
parent 271f86cff3
commit b0c50ef6e9
1 changed files with 1 additions and 1 deletions

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