We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2505c3c commit 19bf230Copy full SHA for 19bf230
src/app/code/community/FireGento/GridControl/Model/Config.php
@@ -74,8 +74,10 @@ protected function _loadConfig()
74
$this->_config = $gridcontrolConfig;
75
76
// collect affected grid id's
77
- foreach ($this->_config->getNode('grids')->children() as $grid) {
78
- $this->_gridList[] = $grid->getName();
+ if($this->_config->getNode('grids') !== false) {
+ foreach ($this->_config->getNode('grids')->children() as $grid) {
79
+ $this->_gridList[] = $grid->getName();
80
+ }
81
}
82
83
0 commit comments