aboutsummaryrefslogtreecommitdiff
path: root/views/default/river
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/default/river
parenta1c32cf049031a463b1d7bb49a5c2957924d83a5 (diff)
downloadelgg-ea8ea3c610582c8d564c5be38bc91b1987410a6b.tar.gz
elgg-ea8ea3c610582c8d564c5be38bc91b1987410a6b.tar.bz2
merged in r580 and r581 into trunk
Diffstat (limited to 'views/default/river')
-rw-r--r--views/default/river/object/album/create.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/views/default/river/object/album/create.php b/views/default/river/object/album/create.php
index 47d20f3ae..4d797d842 100644
--- a/views/default/river/object/album/create.php
+++ b/views/default/river/object/album/create.php
@@ -28,7 +28,12 @@ if ($album_river_view == "cover") {
$string .= "<div class=\"river_content\">";
- $images = get_entities("object", "image", $album->guid, 'time_created desc', 7);
+ $images = elgg_get_entities(array(
+ "type" => "object",
+ "subtype" => "image",
+ "container_guid" => $album->guid,
+ "limit" => 7,
+ ));
if (count($images)) {
foreach($images as $image) {