FIX Preview of svg files into file manager

This commit is contained in:
Laurent Destailleur 2020-04-17 12:34:35 +02:00
parent 162cd94138
commit 024abe8b58

View File

@ -1297,7 +1297,7 @@ class FormFile
{
$fileinfo = pathinfo($file['name']);
print '<td class="center">';
if (image_format_supported($file['name']) > 0)
if (image_format_supported($file['name']) >= 0)
{
if ($useinecm == 5 || $useinecm == 6)
{