make get_random_tag_photo() behave correct when show_tags is set, fixes #81
[phpfspot.git] / phpfspot_img.php
index bb7e93f15f0c5890f8bf8b0e0f57496b7bdcdabc..b6952041dcedc69b0451baac8302aca8363eea62 100644 (file)
@@ -163,7 +163,7 @@ class PHPFSPOT_IMG {
          $this->parent->gen_thumb($idx);
       }
 
          $this->parent->gen_thumb($idx);
       }
 
-      $version = $this->parent­>get_latest_version($idx);
+      $version = $this->parent->get_latest_version($idx);
 
       $fullpath = $this->parent->get_thumb_path($width, $idx, $version);
       /* if the thumb file does not exist, create it */
 
       $fullpath = $this->parent->get_thumb_path($width, $idx, $version);
       /* if the thumb file does not exist, create it */