From efcad252edb0893cadb647092c3ba27c0be76d3f Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Sun, 27 Apr 2008 09:46:28 -0700 Subject: [PATCH] wrong argument to get_mime_info function Signed-off-by: Arun Persaud --- phpfspot.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.17.1