diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-06-05 12:14:47 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2011-06-05 12:14:47 +0000 |
commit | ea8ea3c610582c8d564c5be38bc91b1987410a6b (patch) | |
tree | c09b9970fd7320f74fd4d1815692369dded39bab /views/default/tidypics/albums.php | |
parent | a1c32cf049031a463b1d7bb49a5c2957924d83a5 (diff) | |
download | elgg-ea8ea3c610582c8d564c5be38bc91b1987410a6b.tar.gz elgg-ea8ea3c610582c8d564c5be38bc91b1987410a6b.tar.bz2 |
merged in r580 and r581 into trunk
Diffstat (limited to 'views/default/tidypics/albums.php')
-rw-r--r-- | views/default/tidypics/albums.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/views/default/tidypics/albums.php b/views/default/tidypics/albums.php index 7e0cd2d6c..61daadba7 100644 --- a/views/default/tidypics/albums.php +++ b/views/default/tidypics/albums.php @@ -7,7 +7,12 @@ if (!$number) { } $owner = page_owner_entity(); -$owner_albums = get_entities("object", "album", page_owner(), "", $number, 0, false); +$owner_albums = elgg_get_entities(array( + "type" => "object", + "subtype" => "album", + "container_guid" => page_owner(), + "limit" => $number, +)); echo '<div id="tidypics_album_widget_container">'; |