summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpfspot.class.php2
1 files changed, 1 insertions, 1 deletions
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.