From ea8ea3c610582c8d564c5be38bc91b1987410a6b Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sun, 5 Jun 2011 12:14:47 +0000 Subject: merged in r580 and r581 into trunk --- views/rss/object/album.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'views/rss/object/album.php') diff --git a/views/rss/object/album.php b/views/rss/object/album.php index 8a8f97cc2..a37fdd041 100644 --- a/views/rss/object/album.php +++ b/views/rss/object/album.php @@ -43,7 +43,11 @@ if (get_context() == "search" && get_input('search_viewtype') == "gallery") { } - $images = get_entities("object", "image", 0, "", 0, 0, false, 0, $album->guid); + $images = elgg_get_entities(array( + "type" => "object", + "subtype" => "image", + "container_guid" => $album->guid, + )); foreach ($images as $image) { -- cgit v1.2.3