From: Arun Persaud Date: Sun, 27 Apr 2008 16:46:28 +0000 (-0700) Subject: wrong argument to get_mime_info function X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efcad252edb0893cadb647092c3ba27c0be76d3f;p=phpfspot.git wrong argument to get_mime_info function Signed-off-by: Arun Persaud --- diff --git a/phpfspot.class.php b/phpfspot.class.php index d365588..eba23ca 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -3004,7 +3004,7 @@ class PHPFSPOT { */ public function get_mime_info($file) { - $details = getimagesize($orig_image); + $details = getimagesize($file); /* if getimagesize() returns empty, try at least to find out the mime type.