Merge pull request #9129 from MrPetovan/bug/fatal-errors
Fix fatal error in storage list console when default backend is used
This commit is contained in:
commit
9a91eb655a
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