Fix fatal error in storage list console when default backend is used

2022.09-rc
Hypolite Petovan 2020-09-03 16:06:52 -04:00
rodzic 560746eb3b
commit e8cae80460
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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