diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php index bdf6e2ceb3d..f04ff69d936 100644 --- a/htdocs/core/class/html.formfile.class.php +++ b/htdocs/core/class/html.formfile.class.php @@ -375,7 +375,7 @@ class FormFile print ''; print ''; - + // Hook of thirdparty module if (! empty($hooks) && is_array($hooks)) { @@ -490,7 +490,7 @@ class FormFile // Affiche liste des documents existant if (empty($useinecm)) print_titre($langs->trans("AttachedFiles")); - else { $bc[true]=''; $bc[false]=''; }; + //else { $bc[true]=''; $bc[false]=''; }; $url=$_SERVER["PHP_SELF"]; print ''; print ''; @@ -513,7 +513,7 @@ class FormFile if (! $relativepath) $relativepath=dol_sanitizeFileName($object->ref).'/'; $var=!$var; - print "
"; + print '
'; //print "XX".$file['name']; //$file['name'] must be utf8 print '