wrong argument to get_mime_info function
authorArun Persaud <arun@nubati.net>
Sun, 27 Apr 2008 16:46:28 +0000 (09:46 -0700)
committerAndreas Unterkircher <unki@netshadow.at>
Mon, 28 Apr 2008 04:29:58 +0000 (06:29 +0200)
Signed-off-by: Arun Persaud <arun@nubati.net>
phpfspot.class.php

index 943c57af1b4a4e9659aff17f32efd3601dccf8c0..094746c0bef16097794697aed7675794b650cafd 100644 (file)
@@ -3004,7 +3004,7 @@ class PHPFSPOT {
     */
    public function get_mime_info($file)
    {
     */
    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.
 
       /* if getimagesize() returns empty, try at least to find out the
          mime type.