Skip to content

Commit

Permalink
Merge pull request #17 from mistic100/photosets.getList
Browse files Browse the repository at this point in the history
missing default value for last parameter of photosets_getList
  • Loading branch information
dan-coulter committed Jul 7, 2014
2 parents d40348e + b8c7413 commit bc4f209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpFlickr.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bc4f209

Please sign in to comment.