fix api/red/photos when supplied with an album name

This commit is contained in:
friendica 2014-01-22 23:04:19 -08:00
parent 43f2d6972c
commit bc98f4ddf4

View File

@ -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);