Resolve ret

This commit is contained in:
atm-lena 2021-02-04 10:42:42 +01:00
parent e9b5a52a4f
commit c5f73ec12a

View File

@ -166,7 +166,7 @@ else
}
}
if ($user->rights->fournisseur->lire && $line->fk_fournprice > 0 && !empty($conf->global->DISPLAY_SUPPLIER_OBJECTLINES))
if ($user->rights->fournisseur->lire && $line->fk_fournprice > 0 && empty($conf->global->SUPPLIER_HIDE_SUPPLIER_OBJECTLINES))
{
require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.product.class.php';
$productfourn = new ProductFournisseur($this->db);