From bc98f4ddf4cdfa655385c705d97fa006ada9c49f Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 22 Jan 2014 23:04:19 -0800 Subject: fix api/red/photos when supplied with an album name --- include/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/api.php b/include/api.php index 463d29cf8..e854012e5 100644 --- a/include/api.php +++ b/include/api.php @@ -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); -- cgit v1.2.3