Skip to content
Snippets Groups Projects
Commit aa7da308 authored by Volodymyr Kublytskyi's avatar Volodymyr Kublytskyi
Browse files

Stabilization magento-partners/magento2ce#83

parent f61aa388
Branches
No related merge requests found
...@@ -189,7 +189,7 @@ class Value extends AbstractModel implements \Magento\Catalog\Api\Data\ProductCu ...@@ -189,7 +189,7 @@ class Value extends AbstractModel implements \Magento\Catalog\Api\Data\ProductCu
*/ */
public function saveValues() public function saveValues()
{ {
foreach ($this->getValues() as $value) foreach ($this->getValues() as $value) {
$this->isDeleted(false); $this->isDeleted(false);
$this->setData( $this->setData(
$value $value
......
...@@ -98,8 +98,12 @@ class Login extends \Magento\Framework\App\Action\Action ...@@ -98,8 +98,12 @@ class Login extends \Magento\Framework\App\Action\Action
$this->customerAccountManagement = $customerAccountManagement; $this->customerAccountManagement = $customerAccountManagement;
$this->resultJsonFactory = $resultJsonFactory; $this->resultJsonFactory = $resultJsonFactory;
$this->resultRawFactory = $resultRawFactory; $this->resultRawFactory = $resultRawFactory;
$this->cookieManager = $cookieManager ?: ObjectManager::getInstance()->get(CookieManagerInterface::class); $this->cookieManager = $cookieManager ?: ObjectManager::getInstance()->get(
$this->cookieMetadataFactory = $cookieMetadataFactory ?: ObjectManager::getInstance()->get(CookieMetadataFactory::class); CookieManagerInterface::class
);
$this->cookieMetadataFactory = $cookieMetadataFactory ?: ObjectManager::getInstance()->get(
CookieMetadataFactory::class
);
} }
/** /**
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment