diff --git a/src/QUI/Bricks/Manager.php b/src/QUI/Bricks/Manager.php index eb03d91ad71127f1394f403eb67a04f2eeee8155..63b54ad20eff8a4c02c67bc552f4e28eb67aa25e 100644 --- a/src/QUI/Bricks/Manager.php +++ b/src/QUI/Bricks/Manager.php @@ -253,7 +253,6 @@ public function getAvailableBricks() QUI\Cache\Manager::set($cache, $result); - return $result; } diff --git a/src/QUI/Bricks/Utils.php b/src/QUI/Bricks/Utils.php index 126412388c21a5b1fe2f3dc0936916dc0e6e0f13..f14c3031e87711c39e9e8074e5aaa8a627ea5d93 100644 --- a/src/QUI/Bricks/Utils.php +++ b/src/QUI/Bricks/Utils.php @@ -43,6 +43,10 @@ public static function getBricksFromXML($file) } foreach ($bricks as $Brick) { + if ($Brick->getAttribute('control') == '*') { + continue; + } + $list[] = self::parseAreaToArray($Brick, $Path); }