Fix: le nom de l'image n'était pas récupéré

This commit is contained in:
Regis Houssin 2007-09-06 22:07:34 +00:00
parent 0465008e52
commit e8837b0bff

View File

@ -122,7 +122,7 @@ if ($_GET["action"] == 'addthumb')
{ {
if (file_exists($conf->societe->dir_logos.'/'.$_GET["file"])) if (file_exists($conf->societe->dir_logos.'/'.$_GET["file"]))
{ {
$isimage=image_format_supported($original_file); $isimage=image_format_supported($_GET["file"]);
// Create thumbs of logo // Create thumbs of logo
if ($isimage > 0) if ($isimage > 0)