Hi,
If you set a custom Flickr user ID, for example for the Flickr recent photos block, that user ID isn't used by the code in the block because of a typo.
Basically the line :
if (isset($settings['user_id'])) {
$settings['user_id'] = variable_get('flickr_default_userid', '');
}
should (of course) be :
if (!isset($settings['user_id'])) {
$settings['user_id'] = variable_get('flickr_default_userid', '');
}
I added a small patch which fixes this (against the CVS head version)
Thanks for the nice module!
| Comment | File | Size | Author |
|---|---|---|---|
| flick-block-userid-6.x.patch | 671 bytes | gdevlugt |
Comments
Comment #1
drewish commentedlooks good to me.
Comment #2
drewish commentedthanks, committed to HEAD.
Comment #3
buffalo2wheeler commentedDoes "committed to HEAD" mean that the flickr module I downloaded and installed today (4 days after the patch above was reviewed) is included in the module's code, or do I need to apply the patch myself?
Thanks,
Thomas
Comment #4
drewish commentedi think the -dev builds are re-built every night. it's probably good to go but you should probably grab the -alpha1 release.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.