Fix: error report when duplicate product

This commit is contained in:
Laurent Destailleur 2012-09-02 15:09:48 +02:00
parent f369c9d99b
commit 913b923886

View File

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