summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2008-04-27 09:46:28 -0700
committerArun Persaud <arun@nubati.net>2008-04-27 09:46:28 -0700
commitefcad252edb0893cadb647092c3ba27c0be76d3f (patch)
tree6480eda37158aff9d485b1a2a49a049104ad3599
parentc052cd0f97959a93bf15184829b08ea1b3482078 (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 d365588..eba23ca 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.