From 54df914087c464d4999efd4b3ae94c5fb4cb3359 Mon Sep 17 00:00:00 2001 From: Eugene Tulika Date: Mon, 20 Mar 2017 13:41:51 -0500 Subject: [PATCH] MAGETWO-66357: Fix for Product Attribute's Conditions #6400 --- app/code/Magento/Rule/Model/Condition/AbstractCondition.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Rule/Model/Condition/AbstractCondition.php b/app/code/Magento/Rule/Model/Condition/AbstractCondition.php index 286ac1b4a4b35..8798ca627a354 100644 --- a/app/code/Magento/Rule/Model/Condition/AbstractCondition.php +++ b/app/code/Magento/Rule/Model/Condition/AbstractCondition.php @@ -441,7 +441,7 @@ public function getValueName() } if (!empty($valueArr)) { $value = implode(', ', $valueArr); - } elseif(is_array($value)) { + } elseif (is_array($value)) { $value = implode(', ', $value); } return $value;