From 80cf9c8be9d5d29386f725d7900e4b94dba5ccf9 Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Fri, 11 Oct 2013 02:19:32 +0200 Subject: [PATCH] better error message --- framework/yii/base/View.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/yii/base/View.php b/framework/yii/base/View.php index 27ede61..9071cee 100644 --- a/framework/yii/base/View.php +++ b/framework/yii/base/View.php @@ -620,7 +620,7 @@ class View extends Component if ($pos === null) { $bundle->jsOptions['position'] = $pos = $position; } elseif ($pos > $position) { - throw new InvalidConfigException("A dependend AssetBundle of '$name' requires a higher position but it conflicts with the position set for '$name'!"); + throw new InvalidConfigException("An asset bundle that depends on '$name' has a higher javascript file position configured than '$name'."); } foreach ($bundle->depends as $dep) { $this->registerAssetBundle($dep, $pos);