wrong argument to get_mime_info function
authorArun Persaud <arun@nubati.net>
Sun, 27 Apr 2008 16:46:28 +0000 (09:46 -0700)
committerArun Persaud <arun@nubati.net>
Sun, 27 Apr 2008 16:46:28 +0000 (09:46 -0700)
Signed-off-by: Arun Persaud <arun@nubati.net>
phpfspot.class.php

index d3655880c7182847e64a3799628fe2286515a026..eba23ca42cb0dbf8f6588c7efb3d17ddacb8dc1a 100644 (file)
@@ -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.