Fix syntax error

This commit is contained in:
Laurent Destailleur 2018-04-13 13:37:43 +02:00
parent be965bdbab
commit d4cd5a0d95
3 changed files with 3 additions and 3 deletions

View File

@ -754,7 +754,7 @@ if ($action == 'create')
$parameters=array();
$reshook=$hookmanager->executeHooks('formObjectOptions',$parameters,$object,$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');
}

View File

@ -1002,7 +1002,7 @@ if ($action == 'create')
$parameters=array('colspan' => ' colspan="2"');
$reshook=$hookmanager->executeHooks('formObjectOptions',$parameters,$object,$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');
}

View File

@ -629,7 +629,7 @@ if ($action == 'create' && $user->rights->projet->creer)
$parameters=array();
$reshook=$hookmanager->executeHooks('formObjectOptions',$parameters,$object,$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');
}