Browse Source

typo fix.

tags/2.0.0-beta
Qiang Xue 11 years ago
parent
commit
a8d189676f
  1. 4
      framework/yii/grid/GridView.php

4
framework/yii/grid/GridView.php

@ -343,10 +343,10 @@ class GridView extends BaseListView
}
if (empty($rows)) {
return "<tbody>\n" . implode("\n", $rows) . "\n</tbody>";
} else {
$colspan = count($this->columns);
return "<tbody>\n<tr><td colspan=\"$colspan\">" . $this->renderEmpty() . "</td></tr>\n</tbody>";
} else {
return "<tbody>\n" . implode("\n", $rows) . "\n</tbody>";
}
}

Loading…
Cancel
Save