Skip to content

Commit

Permalink
Add missing method arg for photos_search()
Browse files Browse the repository at this point in the history
This method is deprecated, but until it's removed it might as well work.

Closes #43
  • Loading branch information
samwilson committed Jun 24, 2021
1 parent 30026af commit 846e037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PhpFlickr.php
Original file line number Diff line number Diff line change
Expand Up @@ -1373,7 +1373,7 @@ public function photos_removeTag($tag_id)
*/
public function photos_search($args = [])
{
return $this->photos()->search();
return $this->photos()->search($args);
}

/**
Expand Down

0 comments on commit 846e037

Please sign in to comment.