Skip to content

Commit f54c811

Browse files
author
Volodymyr Kublytskyi
authored
MAGETWO-84883: The left and the right parts of assignment are equal #12515
2 parents 85b3bac + 48fd0fb commit f54c811

File tree

1 file changed

+1
-5
lines changed
  • app/code/Magento/Variable/Block/System/Variable

1 file changed

+1
-5
lines changed

app/code/Magento/Variable/Block/System/Variable/Edit.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,7 @@ protected function _preparelayout()
9090
*/
9191
public function getFormHtml()
9292
{
93-
$formHtml = parent::getFormHtml();
94-
if (!$this->_storeManager->isSingleStoreMode() && $this->getVariable()->getId()) {
95-
$formHtml = $formHtml;
96-
}
97-
return $formHtml;
93+
return parent::getFormHtml();
9894
}
9995

10096
/**

0 commit comments

Comments
 (0)