From 4dbea8ece530c8bbf16e9e70f7cd0b3ad0ebe3fc Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Sun, 27 Apr 2008 09:46:28 -0700 Subject: wrong argument to get_mime_info function Signed-off-by: Arun Persaud --- phpfspot.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpfspot.class.php') diff --git a/phpfspot.class.php b/phpfspot.class.php index 943c57a..094746c 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. -- cgit v1.2.3-18-g5258