MDL-36616 repository: Fix direct linking to images in Flickr Public.
[moodle.git] / repository / flickr_public / lib.php
index 17cdb57..6b11cfc 100644 (file)
@@ -440,7 +440,7 @@ class repository_flickr_public extends repository {
     }
 
     public function get_link($photoid) {
-        return $this->build_photo_id($photoid);
+        return $this->build_photo_url($photoid);
     }
 
     /**