diff --git a/htdocs/fichinter/card.php b/htdocs/fichinter/card.php index b823e505c58..4770e6af171 100644 --- a/htdocs/fichinter/card.php +++ b/htdocs/fichinter/card.php @@ -784,7 +784,7 @@ if ($action == 'create') print load_fiche_titre($langs->trans("AddIntervention"), '', 'intervention'); - if($error > 0) { + if ($error > 0) { dol_htmloutput_errors($mesg); } else { dol_htmloutput_mesg($mesg); @@ -1062,7 +1062,7 @@ if ($action == 'create') $soc = new Societe($db); $soc->fetch($object->socid); - if($error > 0) { + if ($error > 0) { dol_htmloutput_errors($mesg); } else { dol_htmloutput_mesg($mesg);