|
@@ -338,7 +338,7 @@ if ($action == 'create')
|
|
|
$parameters=array();
|
|
|
$reshook=$hookmanager->executeHooks('formObjectOptions',$parameters,$act,$action); // Note that $action and $object may have been modified by hook
|
|
|
print $hookmanager->resPrint;
|
|
|
- if (empty($reshook)
|
|
|
+ if (empty($reshook))
|
|
|
{
|
|
|
print $object->showOptionals($extrafields,'edit');
|
|
|
}
|
|
@@ -736,7 +736,7 @@ if ($rowid > 0)
|
|
|
$parameters=array();
|
|
|
$reshook=$hookmanager->executeHooks('formObjectOptions',$parameters,$act,$action); // Note that $action and $object may have been modified by hook
|
|
|
print $hookmanager->resPrint;
|
|
|
- if (empty($reshook)
|
|
|
+ if (empty($reshook))
|
|
|
{
|
|
|
print $object->showOptionals($extrafields,'edit');
|
|
|
}
|
|
@@ -744,7 +744,7 @@ if ($rowid > 0)
|
|
|
print '</table>';
|
|
|
|
|
|
// Extra field
|
|
|
- if (empty($reshook)
|
|
|
+ if (empty($reshook))
|
|
|
{
|
|
|
print '<br><br><table class="border" width="100%">';
|
|
|
foreach($extrafields->attribute_label as $key=>$label)
|