diff --git a/htdocs/lib/functions.inc.php b/htdocs/lib/functions.inc.php index 5d35407540d..0b3480e4a2e 100644 --- a/htdocs/lib/functions.inc.php +++ b/htdocs/lib/functions.inc.php @@ -3003,7 +3003,7 @@ function vignette($file, $maxWidth = 160, $maxHeight = 120, $extName='_small', $ } if ($imgfonction) { - if (function_exists($imgfonction)) + if (! function_exists($imgfonction)) { // Fonctions de conversion non presente dans ce PHP return 'Creation de vignette impossible. Ce PHP ne supporte pas les fonctions du module GD '.$imgfonction;