sforkowany z mirror/friendica
Fix fatal error in storage list console when default backend is used
rodzic
560746eb3b
commit
e8cae80460
|
@ -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