Commits

Anonymous committed 67d42bc

Fixed new API photoset issue.

  • Participants
  • Parent commits f31e881

Comments (0)

Files changed (1)

site/models/joomlaflickr.php

 		$service = $this->getService();
 		$photos = $service->photosets_getPhotos($albumId, NULL, NULL, $this->getMaxPhotosPerPage(), $currentPage);
 		$photosList = array();
-		foreach($photos['photo'] as $photo){
+		foreach($photos['photoset']['photo'] as $photo){
 			$photoTitle = $photo['title'];
 			$photoURL = "http://static.flickr.com/" . $photo['server'] . "/" . $photo['id'] . "_" .$photo['secret'].".jpg";
 			$photoId = $photo['id'];