diff --git a/htdocs/core/tpl/filemanager.tpl.php b/htdocs/core/tpl/filemanager.tpl.php
index 573ae315913..955e9dd479a 100644
--- a/htdocs/core/tpl/filemanager.tpl.php
+++ b/htdocs/core/tpl/filemanager.tpl.php
@@ -90,11 +90,11 @@ if ($module == 'ecm') {
print '';
}
if ($permtoadd && GETPOSTISSET('website')) { // If on file manager to manage medias of a web site
- print 'ref.'" class="inline-block valignmiddle toolbarbutton paddingtop" title="'.dol_escape_htmltag($langs->trans("GenerateImgWebp")).'">';
+ print 'ref.'" class="inline-block valignmiddle toolbarbutton paddingtop" title="'.dol_escape_htmltag($langs->trans("GenerateImgWebp")).'">';
print img_picto('', 'images', '', false, 0, 0, '', 'size15x flip marginrightonly');
print '';
} elseif ($permtoadd && $module == 'ecm') { // If on file manager medias in ecm
- print '';
+ print '';
print img_picto('', 'images', '', false, 0, 0, '', 'size15x flip marginrightonly');
print '';
}