mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix check for null
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
bd089021e6
commit
ef237f8e36
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue