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.
2 parents adb30ab + 39be466 commit a6ab1ccCopy full SHA for a6ab1cc
app/code/Magento/Backend/Block/Widget/Grid/Extended.php
@@ -314,7 +314,8 @@ public function removeColumn($columnId)
314
if ($this->getColumnSet()->getChildBlock($columnId)) {
315
$this->getColumnSet()->unsetChild($columnId);
316
if ($this->_lastColumnId == $columnId) {
317
- $this->_lastColumnId = array_pop($this->getColumnSet()->getChildNames());
+ $names = $this->getColumnSet()->getChildNames();
318
+ $this->_lastColumnId = array_pop($names);
319
}
320
321
return $this;
0 commit comments