Commit 85ac5d92 authored by s_leu's avatar s_leu Committed by Andrei Mateescu
Browse files

Issue #3283735: Workspace config: Wrong array concatenation in listAll() and...

Issue #3283735: Workspace config: Wrong array concatenation in listAll() and getAllCollectionNames() of storage
parent 3523ca58
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -283,7 +283,7 @@ class WseConfigDatabaseStorage implements StorageInterface {

      // Add configs which were not saved into wse_config entities yet or that
      // are ignored from the inner storage.
      $configs += $this->inner->listAll($prefix);
      $configs = array_merge($this->inner->listAll($prefix), $configs);
      return $configs;
    }
    catch (\Exception $e) {
@@ -366,7 +366,7 @@ class WseConfigDatabaseStorage implements StorageInterface {
        }
      }

      $collections += $this->inner->getAllCollectionNames();
      $collections = array_merge($this->inner->getAllCollectionNames(), $collections);
      return $collections;
    }
    catch (\Exception $e) {