From b298420ac5a8edacce2866f9b20d0394f4b97079 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 14 Apr 2021 15:12:40 +0200 Subject: [PATCH] Fix bad test --- htdocs/core/tpl/filemanager.tpl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/tpl/filemanager.tpl.php b/htdocs/core/tpl/filemanager.tpl.php index c3169dcdfbc..adb38aa9279 100644 --- a/htdocs/core/tpl/filemanager.tpl.php +++ b/htdocs/core/tpl/filemanager.tpl.php @@ -86,7 +86,7 @@ if ($module == 'ecm') { print img_picto('', 'refresh', 'id="refreshbutton"', false, 0, 0, '', 'size15x marginrightonly'); print ''; } -if ($permtoadd && !GETPOSTISSET('website')) { // If on file manager to manage medias of a web site +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 img_picto('', 'images', '', false, 0, 0, '', 'size15x flip marginrightonly'); print '';