fixed syntax error
[phpfspot.git] / phpfspot.class.php
index fb54eb6cf87258fa7dd9401308919b8b9976a2e0..7084ce108e1ee59e6a128234e79e1b82b325a88f 100644 (file)
@@ -516,7 +516,7 @@ class PHPFSPOT {
       $details = getimagesize($orig_image);
       
       /* check if original photo is a support image type */
-      if(!$this->parent->checkifImageSupported($details['mime']))
+      if(!$this->checkifImageSupported($details['mime']))
          return false;
 
       $meta = $this->get_meta_informations($orig_image);