From 8fb44e6892773907db0405234bc949de123daf9a Mon Sep 17 00:00:00 2001 From: mDeflotte Date: Tue, 20 Dec 2011 09:43:56 +0000 Subject: [PATCH] // BugFix - PSTEST-64 - Duplication de produit dans la liste et la fiche git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11396 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/SpecificPrice.php | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/SpecificPrice.php b/classes/SpecificPrice.php index 82f6cfe26..48aff43e4 100644 --- a/classes/SpecificPrice.php +++ b/classes/SpecificPrice.php @@ -330,6 +330,7 @@ class SpecificPriceCore extends ObjectModel { if ($id_product) $this->id_product = (int)$id_product; + unset($this->id); return $this->add(); }