Fix fatal error in storage list console when default backend is used
This commit is contained in:
parent
560746eb3b
commit
e8cae80460
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ HELP;
|
|||
$isregisterd = false;
|
||||
foreach ($this->storageManager->listBackends() as $name => $class) {
|
||||
$issel = ' ';
|
||||
if ($current::getName() == $name) {
|
||||
if ($current && $current::getName() == $name) {
|
||||
$issel = '*';
|
||||
$isregisterd = true;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue