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 d19e900 commit 39be466Copy full SHA for 39be466
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