diff --git a/etemplate/inc/class.etemplate_widget_grid.inc.php b/etemplate/inc/class.etemplate_widget_grid.inc.php index 2a1063d77a..d930742b78 100644 --- a/etemplate/inc/class.etemplate_widget_grid.inc.php +++ b/etemplate/inc/class.etemplate_widget_grid.inc.php @@ -64,7 +64,7 @@ class etemplate_widget_grid extends etemplate_widget_box } foreach($this->children as $n => $child) { - if ($type == 'row') + if ($this->type == 'row') { if (in_array($n, $columns_disabled)) {