diff --git a/htdocs/core/class/html.formticket.class.php b/htdocs/core/class/html.formticket.class.php index 5045660df0b..c9217b1ffb2 100644 --- a/htdocs/core/class/html.formticket.class.php +++ b/htdocs/core/class/html.formticket.class.php @@ -1041,7 +1041,7 @@ class FormTicket // Attached files if (!empty($this->withfile)) { - $out .= ''; + $out = ''; $out .= '' . $langs->trans("MailFile") . ''; $out .= ''; // TODO Trick to have param removedfile containing nb of image to delete. But this does not works without javascript