Fix: error report when duplicate product
This commit is contained in:
parent
de7b060e12
commit
7a3f6b9acc
@ -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";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user