fix check for null
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
271f86cff3
commit
b0c50ef6e9
|
@ -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…
Reference in New Issue