aboutsummaryrefslogtreecommitdiff
path: root/views/rss
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-06-05 12:14:47 +0000
committerCash Costello <cash.costello@gmail.com>2011-06-05 12:14:47 +0000
commitea8ea3c610582c8d564c5be38bc91b1987410a6b (patch)
treec09b9970fd7320f74fd4d1815692369dded39bab /views/rss
parenta1c32cf049031a463b1d7bb49a5c2957924d83a5 (diff)
downloadelgg-ea8ea3c610582c8d564c5be38bc91b1987410a6b.tar.gz
elgg-ea8ea3c610582c8d564c5be38bc91b1987410a6b.tar.bz2
merged in r580 and r581 into trunk
Diffstat (limited to 'views/rss')
-rw-r--r--views/rss/object/album.php6
1 files changed, 5 insertions, 1 deletions
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) {