From bd0ffad6d9c8612fdb04a238da8bb7581f433a0d Mon Sep 17 00:00:00 2001 From: "Committo,Ergo:sum" <esj@rezo.net> Date: Mon, 5 Mar 2007 16:54:43 +0000 Subject: [PATCH] =?UTF-8?q?un=20fonction=20imagecreate=20ind=C3=A9finie=20?= =?UTF-8?q?arr=C3=AAte=20le=20processus,=20et=20ce=20n'est=20pas=20un=20@?= =?UTF-8?q?=20devant=20l'appel=20qui=20y=20change=20qqch.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ecrire/inc/filtres_images.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ecrire/inc/filtres_images.php b/ecrire/inc/filtres_images.php index 593d143793..c35d51365a 100644 --- a/ecrire/inc/filtres_images.php +++ b/ecrire/inc/filtres_images.php @@ -512,6 +512,8 @@ function image_creer_vignette($valeurs, $maxWidth, $maxHeight, $process='AUTO', #else { $fonction_imagecreatefrom = $valeurs['fonction_imagecreatefrom']; + if (!function_exists($fonction_imagecreatefrom)) + return ''; $srcImage = $fonction_imagecreatefrom($image); if (!$srcImage) { spip_log("echec gd1/gd2"); -- GitLab