From d857d569a01c1f3f5ab3fa7559992ddac04cb464 Mon Sep 17 00:00:00 2001 From: Vitalii Zabaznov <vzabaznov@ebay.com> Date: Wed, 21 Oct 2015 15:16:50 +0300 Subject: [PATCH] MAGETWO-44109: Import Custom Options grid contains Downloadable product if Import Custom Options for Simple product --- .../Block/Adminhtml/Product/Edit/Tab/Options/Popup/Grid.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Popup/Grid.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Popup/Grid.php index d98abfd533f..646db241f82 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Popup/Grid.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Popup/Grid.php @@ -65,7 +65,8 @@ class Grid extends \Magento\Catalog\Block\Adminhtml\Product\Grid if (null !== $this->getRequest()->getParam('current_product_id')) { $this->getCollection()->getSelect()->where( - 'e.entity_id != ?', $this->getRequest()->getParam('current_product_id') + 'e.entity_id != ?', + $this->getRequest()->getParam('current_product_id') ); } -- GitLab