aboutsummaryrefslogtreecommitdiffstats
path: root/include/api.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-22 23:04:19 -0800
committerfriendica <info@friendica.com>2014-01-22 23:04:19 -0800
commitbc98f4ddf4cdfa655385c705d97fa006ada9c49f (patch)
tree955a94fb39c78354f67aa370a19857c8f0f8dad2 /include/api.php
parent43f2d6972c365d35924018311ac706690a6094ca (diff)
downloadvolse-hubzilla-bc98f4ddf4cdfa655385c705d97fa006ada9c49f.tar.gz
volse-hubzilla-bc98f4ddf4cdfa655385c705d97fa006ada9c49f.tar.bz2
volse-hubzilla-bc98f4ddf4cdfa655385c705d97fa006ada9c49f.zip
fix api/red/photos when supplied with an album name
Diffstat (limited to 'include/api.php')
-rw-r--r--include/api.php2
1 files changed, 1 insertions, 1 deletions
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);