From 248c4e9c9e02b1018619ee421e7353875f804cc9 Mon Sep 17 00:00:00 2001 From: lLefevre Date: Thu, 12 Jul 2012 13:05:20 +0000 Subject: [PATCH] [-] BO : fix strict standard #PSCFV-3173 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16374 b9a71923-0436-4b27-9f14-aed3839534dd --- controllers/admin/AdminImportController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/admin/AdminImportController.php b/controllers/admin/AdminImportController.php index 0194ae68b..3953c64a9 100644 --- a/controllers/admin/AdminImportController.php +++ b/controllers/admin/AdminImportController.php @@ -1182,7 +1182,7 @@ class AdminImportControllerCore extends AdminController $product->quantity = 0; // If match ref is specified && ref product && ref product already in base, trying to update - if (Tools::getValue('match_ref') == 1 && $product->reference && Product::existsRefInDatabase($product->reference)) + if (Tools::getValue('match_ref') == 1 && $product->reference && $product->existsRefInDatabase($product->reference)) { $datas = Db::getInstance()->getRow(' SELECT product_shop.`date_add`, p.`id_product`