Merge pull request #21591 from bb2a/FIX---php-V8-form-setup
FIX - php V8 form setup
This commit is contained in:
commit
8627892871
@ -1093,6 +1093,7 @@ class FormSetupItem
|
|||||||
$out.= $this->langs->trans("NorProspectNorCustomer");
|
$out.= $this->langs->trans("NorProspectNorCustomer");
|
||||||
}
|
}
|
||||||
} elseif ($this->type == 'product') {
|
} elseif ($this->type == 'product') {
|
||||||
|
require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php';
|
||||||
$product = new Product($this->db);
|
$product = new Product($this->db);
|
||||||
$resprod = $product->fetch($this->fieldValue);
|
$resprod = $product->fetch($this->fieldValue);
|
||||||
if ($resprod > 0) {
|
if ($resprod > 0) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user