fix api/red/photos when supplied with an album name
This commit is contained in:
parent
43f2d6972c
commit
bc98f4ddf4
@ -556,7 +556,7 @@ require_once('include/photos.php');
|
||||
|
||||
function api_photos(&$a,$type) {
|
||||
$album = $_REQUEST['album'];
|
||||
json_return_and_die(photos_list_photos($a->get_channel(),$a->get_observer()),$album);
|
||||
json_return_and_die(photos_list_photos($a->get_channel(),$a->get_observer(),$album));
|
||||
}
|
||||
api_register_func('api/red/photos','api_photos', true);
|
||||
|
||||
|
Reference in New Issue
Block a user