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
No related merge requests found
......@@ -189,7 +189,7 @@ class Value extends AbstractModel implements \Magento\Catalog\Api\Data\ProductCu
*/
public function saveValues()
{
foreach ($this->getValues() as $value)
foreach ($this->getValues() as $value) {
$this->isDeleted(false);
$this->setData(
$value
......
......@@ -98,8 +98,12 @@ class Login extends \Magento\Framework\App\Action\Action
$this->customerAccountManagement = $customerAccountManagement;
$this->resultJsonFactory = $resultJsonFactory;
$this->resultRawFactory = $resultRawFactory;
$this->cookieManager = $cookieManager ?: ObjectManager::getInstance()->get(CookieManagerInterface::class);
$this->cookieMetadataFactory = $cookieMetadataFactory ?: ObjectManager::getInstance()->get(CookieMetadataFactory::class);
$this->cookieManager = $cookieManager ?: ObjectManager::getInstance()->get(
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