diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index 5a32b6d124b..f6c52b707a2 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -7923,7 +7923,7 @@ class Form
}
if (!$nboftypesoutput) {
- print '
| '.$langs->trans("None").' |
';
+ print '| '.$langs->trans("None").' |
';
}
print '';
diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php
index fad5fc3b873..838f0bb6771 100644
--- a/htdocs/core/class/html.formfile.class.php
+++ b/htdocs/core/class/html.formfile.class.php
@@ -931,6 +931,7 @@ class FormFile
}
$out .= '';
+ // Show picto delete, print...
if ($delallowed || $printer || $morepicto) {
$out .= '';
if ($delallowed) {
@@ -942,7 +943,6 @@ class FormFile
$out .= '">'.img_picto($langs->trans("Delete"), 'delete').'';
}
if ($printer) {
- //$out.= ' | ';
$out .= ''.img_picto($langs->trans("PrintFile", $relativepath), 'printer.png').'';
@@ -991,7 +991,7 @@ class FormFile
}
if (count($file_list) == 0 && count($link_list) == 0 && $headershown) {
- $out .= ' | | '.$langs->trans("None").' |
'."\n";
+ $out .= '| '.$langs->trans("None").' |
'."\n";
}
}