From a25a34d717f5fa8ab71318bc9bdefb1cd94c43e9 Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Wed, 17 Jul 2013 08:22:48 -0400 Subject: [PATCH] Fixes #629. --- framework/yii/bootstrap/Widget.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/yii/bootstrap/Widget.php b/framework/yii/bootstrap/Widget.php index 7636239..b830a38 100644 --- a/framework/yii/bootstrap/Widget.php +++ b/framework/yii/bootstrap/Widget.php @@ -71,7 +71,7 @@ class Widget extends \yii\base\Widget BootstrapAsset::register($view); } /** @var \yii\web\AssetBundle $assetClass */ - $assetClass = 'yii\bootstrap\\' . ucfirst($name); + $assetClass = 'yii\bootstrap\\' . ucfirst($name) . 'Asset'; $assetClass::register($view); if ($this->clientOptions !== false) {