sforkowany z mirror/friendica
Merge pull request #9129 from MrPetovan/bug/fatal-errors
Fix fatal error in storage list console when default backend is used2022.09-rc
commit
9a91eb655a
|
@ -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;
|
||||
};
|
||||
|
|
Ładowanie…
Reference in New Issue