From e8837b0bfff94bb783eee698f9a4587dd3c6a82f Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 6 Sep 2007 22:07:34 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20le=20nom=20de=20l'image=20n'=E9tait=20pa?= =?UTF-8?q?s=20r=E9cup=E9r=E9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/admin/company.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/admin/company.php b/htdocs/admin/company.php index 6596cd1aad7..800bc67d402 100644 --- a/htdocs/admin/company.php +++ b/htdocs/admin/company.php @@ -121,8 +121,8 @@ if ( (isset($_POST["action"]) && $_POST["action"] == 'update') if ($_GET["action"] == 'addthumb') { 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 if ($isimage > 0)