Permalink
Browse files

Merge pull request #17 from mistic100/photosets.getList

missing default value for last parameter of photosets_getList
2 parents d40348e + b8c7413 commit bc4f2092b15d347e3d40c19fe0dbff8759fc8e51 @dan-coulter committed Jul 7, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 phpFlickr.php
View
@@ -1340,7 +1340,7 @@ function photosets_getInfo ($photoset_id) {
return $this->parsed_response ? $this->parsed_response['photoset'] : false;
}
- function photosets_getList ($user_id = NULL, $page = NULL, $per_page = NULL, $primary_photo_extras) {
+ function photosets_getList ($user_id = NULL, $page = NULL, $per_page = NULL, $primary_photo_extras = NULL) {
/* https://www.flickr.com/services/api/flickr.photosets.getList.html */
$this->request("flickr.photosets.getList", array("user_id" => $user_id, 'page' => $page, 'per_page' => $per_page, 'primary_photo_extras' => $primary_photo_extras));
return $this->parsed_response ? $this->parsed_response['photosets'] : false;

0 comments on commit bc4f209

Please sign in to comment.