From 8cc375939f3d8ed3acad742054ca9d5cdfd01bba Mon Sep 17 00:00:00 2001 From: alxy Date: Thu, 15 May 2014 22:32:56 +0200 Subject: [PATCH] Minor fixes --- modules/system/traits/AssetMaker.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/system/traits/AssetMaker.php b/modules/system/traits/AssetMaker.php index b05b3cd4e..41676ce55 100644 --- a/modules/system/traits/AssetMaker.php +++ b/modules/system/traits/AssetMaker.php @@ -115,7 +115,7 @@ trait AssetMaker $cssPath = $this->getAssetPath($name); if (isset($this->controller)) - $this->controller->addCss($cssPath); + $this->controller->addCss($cssPath, $attributes); if (substr($cssPath, 0, 1) == '/') $cssPath = Request::getBaseUrl() . $cssPath; @@ -139,7 +139,7 @@ trait AssetMaker $rssPath = $this->getAssetPath($name); if (isset($this->controller)) - $this->controller->addRss($rssPath); + $this->controller->addRss($rssPath, $attributes); if (substr($rssPath, 0, 1) == '/') $rssPath = Request::getBaseUrl() . $rssPath;