Merge pull request #8126 from nupplaphil/bug/cmd_storage_list

Fix Storage list
This commit is contained in:
Michael Vogel 2020-01-18 10:19:20 +01:00 committed by GitHub
commit 4e83b2930e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,7 +88,7 @@ HELP;
$isregisterd = false;
foreach ($this->storageManager->listBackends() as $name => $class) {
$issel = ' ';
if ($current === $class) {
if ($current::getName() == $name) {
$issel = '*';
$isregisterd = true;
};