From bf4934b76d0f5b79db064da6fcadbeabc26611f4 Mon Sep 17 00:00:00 2001 From: Fil <fil@rezo.net> Date: Mon, 26 Apr 2004 20:38:12 +0000 Subject: [PATCH] a l'installation les formats sont vides : ne pas mourir --- ecrire/inc_logos.php3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecrire/inc_logos.php3 b/ecrire/inc_logos.php3 index ed97063fc0..8c26b5ed0a 100644 --- a/ecrire/inc_logos.php3 +++ b/ecrire/inc_logos.php3 @@ -205,7 +205,7 @@ function creer_vignette($image, $maxWidth, $maxHeight, $format, $destination, $p $formats_sortie = array('jpg','png','gif'); // si le doc n'est pas une image, refuser - if (!eregi(",$format,", ",$formats_graphiques,")) + if (!$force AND !eregi(",$format,", ",$formats_graphiques,")) return; // chercher un cache -- GitLab