Correction

This commit is contained in:
josemariagomezroncero 2020-02-14 20:16:10 +01:00 committed by GitHub
parent 27a874a6ba
commit 601cd3809c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -273,7 +273,7 @@ class PriceParser
//Get the supplier min price
$productFournisseur = new ProductFournisseur($this->db);
$res = $productFournisseur->find_min_price_product_fournisseur($product->id, 0, 0);
if ($res < -1) {
if ($res < 0) {
$this->error_parser = array(25, null);
return -1;
} elseif($res == 0){