From 972a31ebe9f9728336597c13f14472ebf04a52ab Mon Sep 17 00:00:00 2001 From: BENKE Charlie Date: Thu, 12 Jan 2017 16:03:07 +0100 Subject: [PATCH] Update images.lib.php in fact $dir is not used in the function --- htdocs/core/lib/images.lib.php | 1 - 1 file changed, 1 deletion(-) diff --git a/htdocs/core/lib/images.lib.php b/htdocs/core/lib/images.lib.php index 2fe99bf779a..e3121745300 100644 --- a/htdocs/core/lib/images.lib.php +++ b/htdocs/core/lib/images.lib.php @@ -81,7 +81,6 @@ function dol_getImageSize($file, $url = false) // if problem with realpath if ($fichier == false) return $ret; - $dir = dirname($file); // Chemin du dossier contenant l'image } $infoImg = getimagesize($fichier); // Recuperation des infos de l'image