setLicense Bug Fix

Posted on Saturday 11 March 2006

There is a bug in photos_licenses.setLicense() (thanks, Christian!).  Line 1034 in phpFlickr.php should read:
$this->request("flickr.photos.licenses.setLicense", array("photo_id"=>$photo_id, "license_id"=>$license_id), TRUE);

The problem was with capitalization of $photo_id.  If you've been having problems setting licenses, this would be why.  I've updated CVS and the fix will be in the next release.


1 Comment for 'setLicense Bug Fix'

  1.  
    March 16, 2006 | 4:45 am
     
    My new site... I've re-built my site. It's taken way, way too long. Here are lots of details about what's new and what I've done....

Leave a comment

(required)

(required)


Information for comment users
Line and paragraph breaks are implemented automatically. Your e-mail address is never displayed. Please consider what you're posting.

Use the buttons below to customise your comment.


RSS feed for comments on this post | TrackBack URI