diff --git a/src/QUI/Bricks/Brick.php b/src/QUI/Bricks/Brick.php index 2021f63f18a911993739199879740bfa129ffb2b..8b06127d7a7e9534158da5ade5fef30bbcf715db 100644 --- a/src/QUI/Bricks/Brick.php +++ b/src/QUI/Bricks/Brick.php @@ -390,12 +390,13 @@ public function create() $Control->addCSSClass($cssClass); } - $result = $Control->create(); + $result = $Control->create(); + $cssFiles = $Control->getCSSFiles(); QUI\Cache\Manager::set($cacheName, [ 'html' => $result, 'cssClasses' => $this->cssClasses, - 'cssFiles' => $Control->getCSSFiles() + 'cssFiles' => $cssFiles ]); return $result;