Fixing style errors.
This commit is contained in:
parent
2a68836375
commit
56d05c09b2
@ -1103,9 +1103,9 @@ class FormSetupItem
|
|||||||
$out.= $this->langs->trans("NorProspectNorCustomer");
|
$out.= $this->langs->trans("NorProspectNorCustomer");
|
||||||
}
|
}
|
||||||
} elseif ($this->type == 'product') {
|
} elseif ($this->type == 'product') {
|
||||||
if (!class_exists("Product")){
|
if (!class_exists("Product")) {
|
||||||
require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php';
|
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