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 bf5493d commit 16d75afCopy full SHA for 16d75af
app/code/Magento/Backend/Block/Widget/Tabs.php
@@ -242,7 +242,8 @@ protected function _beforeToHtml()
242
243
if ($this->_activeTab === null && !empty($this->_tabs)) {
244
/** @var TabInterface $tab */
245
- $this->_activeTab = (reset($this->_tabs))->getId();
+ $tab = reset($this->_tabs);
246
+ $this->_activeTab = $tab->getId();
247
}
248
249
$this->assign('tabs', $this->_tabs);
0 commit comments