| 1 |
<?php |
<?php |
| 2 |
// $Id: flickr_sets.module,v 1.10.2.2 2009/02/17 16:47:24 paulbooker Exp $ |
// $Id: flickr_sets.module,v 1.10.2.3 2009/03/17 21:56:54 paulbooker Exp $ |
| 3 |
|
|
| 4 |
require_once(drupal_get_path('module', 'flickr') .'/flickr.inc'); |
require_once(drupal_get_path('module', 'flickr') .'/flickr.inc'); |
| 5 |
|
|
| 32 |
|
|
| 33 |
function flickr_set_load($sid, $page = 1) { |
function flickr_set_load($sid, $page = 1) { |
| 34 |
// TODO: Not sure why this called for /flickr and does not show for admin role |
// TODO: Not sure why this called for /flickr and does not show for admin role |
| 35 |
if (is_integer($sid)) { |
if (is_numeric($sid)) { |
| 36 |
return flickr_request('flickr.photosets.getPhotos', |
return flickr_request('flickr.photosets.getPhotos', |
| 37 |
array( |
array( |
| 38 |
'photoset_id' => $sid, |
'photoset_id' => $sid, |