From d5bce685a34ea64ffde7ac09c1794acd591258c8 Mon Sep 17 00:00:00 2001 From: Tim Reynolds Date: Wed, 9 May 2012 15:04:52 -0400 Subject: [PATCH] MCACE-136 - Catalog API call assignProduct does not pass $identifierType to _getProductId Fixed to match MCA-CE rev 153941 --- app/code/core/Mage/Catalog/Model/Category/Api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/core/Mage/Catalog/Model/Category/Api.php b/app/code/core/Mage/Catalog/Model/Category/Api.php index f7b7cb1679ba5..b48a364604530 100644 --- a/app/code/core/Mage/Catalog/Model/Category/Api.php +++ b/app/code/core/Mage/Catalog/Model/Category/Api.php @@ -446,7 +446,7 @@ public function assignProduct($categoryId, $productId, $position = null, $identi { $category = $this->_initCategory($categoryId); $positions = $category->getProductsPosition(); - $productId = $this->_getProductId($productId); + $productId = $this->_getProductId($productId, $identifierType); $positions[$productId] = $position; $category->setPostedProducts($positions);