From 4efc097e25e0011b56af75e5a6deaaf1baee2559 Mon Sep 17 00:00:00 2001 From: Smotrov Dmitriy Date: Sun, 7 Jul 2013 04:57:07 +0400 Subject: [PATCH] Fix create object Asset Bundle with custom class in Bundle config --- framework/yii/web/AssetManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/yii/web/AssetManager.php b/framework/yii/web/AssetManager.php index dfec576..5fe67f7 100644 --- a/framework/yii/web/AssetManager.php +++ b/framework/yii/web/AssetManager.php @@ -126,8 +126,8 @@ class AssetManager extends Component $config = $this->bundles[$name]; if (!isset($config['class'])) { $config['class'] = 'yii\\web\\AssetBundle'; - $this->bundles[$name] = Yii::createObject($config); } + $this->bundles[$name] = Yii::createObject($config); } return $this->bundles[$name];