[-] BO : Fix bug #PSCFV-10638, Admin Import by reference moves products to home category
This commit is contained in:
1 parent
feca06417f
commit
ae63336a37
1 file changed
+1
-1
@@ -1137,7 +1137,7 @@ class AdminImportControllerCore extends AdminController
|
|||||||
else
|
else
|
||||||
$product = new Product();
|
$product = new Product();
|
||||||
|
|
||||||
if (array_key_exists('id', $info) && (int)$info['id'] && Product::existsInDatabase((int)$info['id'], 'product'))
|
if (isset($product->id) && $product->id && Product::existsInDatabase((int)$product->id, 'product'))
|
||||||
{
|
{
|
||||||
$product->loadStockData();
|
$product->loadStockData();
|
||||||
$category_data = Product::getProductCategories((int)$product->id);
|
$category_data = Product::getProductCategories((int)$product->id);
|
||||||
|
|||||||
Reference in new issue
Block a user