FIX - php V8 form setup

This commit is contained in:
Anthony Berton 2022-07-27 11:41:31 +02:00
parent 487729cfff
commit 54c1e5c138

View File

@ -1103,6 +1103,7 @@ class FormSetupItem
$out.= $this->langs->trans("NorProspectNorCustomer");
}
} elseif ($this->type == 'product') {
require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php';
$product = new Product($this->db);
$resprod = $product->fetch($this->fieldValue);
if ($resprod > 0) {