diff --git a/src/QUI/Bricks/Manager.php b/src/QUI/Bricks/Manager.php
index cc91ac8a853b40792dd0e068ef25cb95f4b119f9..eb03d91ad71127f1394f403eb67a04f2eeee8155 100644
--- a/src/QUI/Bricks/Manager.php
+++ b/src/QUI/Bricks/Manager.php
@@ -778,7 +778,7 @@ protected function getInheritedBricks($brickArea, Site $Site)
             }
 
             foreach ($area as $brick) {
-                if (isset($brickIds[$brick['brickId']])) {
+                if (isset($brick['brickId']) && isset($brickIds[$brick['brickId']])) {
                     $result[] = $brick;
                 }
             }