From fe9221f2c75b66c981aaa7b385f52cf9133de5ff Mon Sep 17 00:00:00 2001 From: "Leandro F. L" Date: Fri, 1 Dec 2017 12:34:31 -0200 Subject: [PATCH 1/2] The left and the right parts of assignment are equal --- app/code/Magento/Variable/Block/System/Variable/Edit.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/code/Magento/Variable/Block/System/Variable/Edit.php b/app/code/Magento/Variable/Block/System/Variable/Edit.php index be68814ea27e2..cf9a7489f3d53 100644 --- a/app/code/Magento/Variable/Block/System/Variable/Edit.php +++ b/app/code/Magento/Variable/Block/System/Variable/Edit.php @@ -91,9 +91,7 @@ protected function _preparelayout() public function getFormHtml() { $formHtml = parent::getFormHtml(); - if (!$this->_storeManager->isSingleStoreMode() && $this->getVariable()->getId()) { - $formHtml = $formHtml; - } + return $formHtml; } From a3ed399935e9b1582c0aa387cfd3fabd20b571e9 Mon Sep 17 00:00:00 2001 From: "Leandro F. L" Date: Fri, 1 Dec 2017 12:45:09 -0200 Subject: [PATCH 2/2] The left and the right parts of assignment are equal --- app/code/Magento/Variable/Block/System/Variable/Edit.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/code/Magento/Variable/Block/System/Variable/Edit.php b/app/code/Magento/Variable/Block/System/Variable/Edit.php index cf9a7489f3d53..ea119b88fa795 100644 --- a/app/code/Magento/Variable/Block/System/Variable/Edit.php +++ b/app/code/Magento/Variable/Block/System/Variable/Edit.php @@ -90,9 +90,7 @@ protected function _preparelayout() */ public function getFormHtml() { - $formHtml = parent::getFormHtml(); - - return $formHtml; + return parent::getFormHtml(); } /**