Skip to content

Commit

Permalink
Fix panel validation
Browse files Browse the repository at this point in the history
  • Loading branch information
kartik-v committed Aug 19, 2014
1 parent a3725c2 commit ce05a9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grid/GridView.php
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ public function init()

public function run()
{
if ($this->bootstrap && !empty($this->panel)) {
if ($this->bootstrap && is_array($this->panel) && !empty($this->panel)) {
$this->renderPanel();
}
if (strpos($this->layout, '{export}') > 0) {
Expand Down

0 comments on commit ce05a9f

Please sign in to comment.