diff --git a/src/QUI/Bricks/Brick.php b/src/QUI/Bricks/Brick.php index 6e486deeacc23e55d1d0e3d4ead79a0a78aaee61..a6022fcb9179c046e8e6741ca94d4b051133a548 100644 --- a/src/QUI/Bricks/Brick.php +++ b/src/QUI/Bricks/Brick.php @@ -303,6 +303,12 @@ protected function getControl() $Control->setAttribute('width', $this->getAttribute('width')); $Control->setAttribute('content', $this->getAttribute('content')); + if ($this->getAttribute('Site')) { + $Control->setAttribute('Site', $this->getAttribute('Site')); + } else { + $Control->setAttribute('Site', QUI::getRewrite()->getSite()); + } + if (!($Control instanceof QUI\Control) || !$Control) { return false;