summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2008-04-27 09:46:28 -0700
committerAndreas Unterkircher <unki@netshadow.at>2008-04-28 06:29:58 +0200
commit43071ed9b32e3368aae01852abd70fa6b3afd877 (patch)
tree3531e555015112aefbd9e7493ae641b2f4b80515
parentc6096e5ba0d1e2ba95469a30108b4497b94451bb (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.