remove debug
This commit is contained in:
parent
30c6e268a1
commit
4e5849e50b
@ -46,6 +46,7 @@ $reshook = $hookmanager->executeHooks('formObjectOptions', $parameters, $object,
|
|||||||
print $hookmanager->resPrint;
|
print $hookmanager->resPrint;
|
||||||
if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
|
if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
|
||||||
|
|
||||||
|
|
||||||
//var_dump($extrafields->attributes[$object->table_element]);
|
//var_dump($extrafields->attributes[$object->table_element]);
|
||||||
if (empty($reshook) && is_array($extrafields->attributes[$object->table_element]['label']))
|
if (empty($reshook) && is_array($extrafields->attributes[$object->table_element]['label']))
|
||||||
{
|
{
|
||||||
|
|||||||
@ -708,7 +708,6 @@ class Project extends CommonObject
|
|||||||
/* Return array even if empty*/
|
/* Return array even if empty*/
|
||||||
return $elements;
|
return $elements;
|
||||||
} else {
|
} else {
|
||||||
//$this->error = $this->db->error;
|
|
||||||
dol_print_error($this->db);
|
dol_print_error($this->db);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user