summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2008-04-27 09:46:28 -0700
committerAndreas Unterkircher <unki@netshadow.at>2008-05-04 21:52:22 +0200
commit4dbea8ece530c8bbf16e9e70f7cd0b3ad0ebe3fc (patch)
tree3531e555015112aefbd9e7493ae641b2f4b80515
parent9afd4d537cf5d6fde7e06c3a3c9d931f04661653 (diff)
wrong argument to get_mime_info function
Signed-off-by: Arun Persaud <arun@nubati.net>
-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.