From f4928122a2f3cba8e67eaee9ab2183f50022f7b5 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sun, 14 Oct 2007 09:43:35 +0000 Subject: [PATCH] Le message ne s'affiche pas --- htdocs/lib/functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/lib/functions.inc.php b/htdocs/lib/functions.inc.php index 4f298de56c3..9f50ce18830 100644 --- a/htdocs/lib/functions.inc.php +++ b/htdocs/lib/functions.inc.php @@ -3394,7 +3394,7 @@ function vignette($file, $maxWidth = 160, $maxHeight = 120, $extName='_small', $ $trans_colour = imagecolorallocatealpha($imgThumb, 255, 255, 255, 0); break; } - if (function_exists("imagefill")) imagefill($imgThumb, 0, 0, $trans_colour) or die ("Erreur lors de la création de l'image"); + if (function_exists("imagefill")) imagefill($imgThumb, 0, 0, $trans_colour); dolibarr_syslog("vignette: convert image from ($imgWidth x $imgHeight) to ($thumbWidth x $thumbHeight) as $extImg, newquality=$newquality"); //imagecopyresized($imgThumb, $img, 0, 0, 0, 0, $thumbWidth, $thumbHeight, $imgWidth, $imgHeight); // Insère l'image de base redimensionnée