Fix: error report when duplicate product

This commit is contained in:
Laurent Destailleur 2012-09-02 15:09:48 +02:00
parent de7b060e12
commit 7a3f6b9acc

View File

@ -361,6 +361,7 @@ class Product extends CommonObject
{ {
// Product already exists with this ref // Product already exists with this ref
$langs->load("products"); $langs->load("products");
$error++;
$this->error = "ErrorProductAlreadyExists"; $this->error = "ErrorProductAlreadyExists";
} }
} }