diff --git a/htdocs/comm/mailing/card.php b/htdocs/comm/mailing/card.php index b77b5c6a549..5ded0c16b5e 100644 --- a/htdocs/comm/mailing/card.php +++ b/htdocs/comm/mailing/card.php @@ -1235,7 +1235,7 @@ else $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'); }