From cd8a948e1fa7cdfa959a555512e67d2ccd343f80 Mon Sep 17 00:00:00 2001 From: Alexander Kochetov Date: Thu, 23 Jan 2014 23:59:02 +0400 Subject: [PATCH] GridView typo fixed --- framework/grid/GridView.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/grid/GridView.php b/framework/grid/GridView.php index e270974641..2e0180ec94 100644 --- a/framework/grid/GridView.php +++ b/framework/grid/GridView.php @@ -416,7 +416,7 @@ class GridView extends BaseListView protected function createDataColumn($text) { if (!preg_match('/^([\w\.]+)(:(\w*))?(:(.*))?$/', $text, $matches)) { - throw new InvalidConfigException('The column must be specified in the format of "attribute", "attribute:format" or "attribute:format:label'); + throw new InvalidConfigException('The column must be specified in the format of "attribute", "attribute:format" or "attribute:format:label"'); } return Yii::createObject([ 'class' => $this->dataColumnClass ?: DataColumn::className(),