diff options
Diffstat (limited to 'views/default/river/object')
-rw-r--r-- | views/default/river/object/album/create.php | 7 |
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) { |