From a8d189676f5d84559397fa268253b09c19850070 Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Sun, 10 Nov 2013 21:18:19 -0500 Subject: [PATCH] typo fix. --- framework/yii/grid/GridView.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/yii/grid/GridView.php b/framework/yii/grid/GridView.php index 8ba8c0a..6cef03a 100644 --- a/framework/yii/grid/GridView.php +++ b/framework/yii/grid/GridView.php @@ -343,10 +343,10 @@ class GridView extends BaseListView } if (empty($rows)) { - return "\n" . implode("\n", $rows) . "\n"; - } else { $colspan = count($this->columns); return "\n" . $this->renderEmpty() . "\n"; + } else { + return "\n" . implode("\n", $rows) . "\n"; } }