Commit a8d18967 by Qiang Xue

typo fix.

parent 743d31a8
...@@ -343,10 +343,10 @@ class GridView extends BaseListView ...@@ -343,10 +343,10 @@ class GridView extends BaseListView
} }
if (empty($rows)) { if (empty($rows)) {
return "<tbody>\n" . implode("\n", $rows) . "\n</tbody>";
} else {
$colspan = count($this->columns); $colspan = count($this->columns);
return "<tbody>\n<tr><td colspan=\"$colspan\">" . $this->renderEmpty() . "</td></tr>\n</tbody>"; return "<tbody>\n<tr><td colspan=\"$colspan\">" . $this->renderEmpty() . "</td></tr>\n</tbody>";
} else {
return "<tbody>\n" . implode("\n", $rows) . "\n</tbody>";
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment