diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/Tracker/GoalManager.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/Tracker/GoalManager.php b/core/Tracker/GoalManager.php index 5c458c28ba..ea37d447b5 100644 --- a/core/Tracker/GoalManager.php +++ b/core/Tracker/GoalManager.php @@ -560,8 +560,10 @@ class GoalManager foreach ($cleanedItems as $item) { $actionsToLookup = array(); - list($sku, $name, $category, $price, $quantity) = $item; + list($sku_check, $name_check, $category, $price, $quantity) = $item; + $sku = is_array($sku_check) ? join(',', $sku_check) : $sku_check; $actionsToLookup[] = array(trim($sku), Action::TYPE_ECOMMERCE_ITEM_SKU); + $name = is_array($name_check) ? join(',', $name_check) : $name_check; $actionsToLookup[] = array(trim($name), Action::TYPE_ECOMMERCE_ITEM_NAME); // Only one category |