Fixing style errors.

This commit is contained in:
stickler-ci 2019-11-01 14:37:21 +00:00
parent 0f80ba5353
commit bc5e6c867f

View File

@ -472,9 +472,9 @@ class Products extends DolibarrApi
}
if ($result > 0) {
require_once DOL_DOCUMENT_ROOT . '/product/class/productcustomerprice.class.php';
$prodcustprice = new Productcustomerprice($this->db);
$result = $prodcustprice->fetch_all('', '', 0, 0, array('t.fk_product' => $id));
require_once DOL_DOCUMENT_ROOT . '/product/class/productcustomerprice.class.php';
$prodcustprice = new Productcustomerprice($this->db);
$result = $prodcustprice->fetch_all('', '', 0, 0, array('t.fk_product' => $id));
}
if ( empty($prodcustprice->lines)) {