translate_path() only needs one parameters. remove unused second one
[phpfspot.git] / phpfspot_img.php
index f298b009bfd3366b6535c2efcd57a001f1774ab4..461f5c61a253083db259baca67b330007b1e0668 100644 (file)
@@ -79,7 +79,7 @@ class PHPFSPOT_IMG {
 
       /* no width specified - show photo in its original size */
       if($width == 0) {
-         $fullpath = $this->parent->translate_path($this->parent->parse_uri($details['uri'], 'fullpath'));
+         $fullpath = $this->parent->translate_path($this->parent->parse_uri($details['uri']));
       }
       /* show thumbnail */
       else {