aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks/views
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-12 08:05:01 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-12 08:05:01 +0000
commitc204355f2dc239c864f71f943ce47461b4410655 (patch)
tree502a473afa5291353d4e037e69fc3ceaba9ec7df /mod/bookmarks/views
parentaf8c4ee23d36cda093f956666929191fa16713e8 (diff)
downloadelgg-c204355f2dc239c864f71f943ce47461b4410655.tar.gz
elgg-c204355f2dc239c864f71f943ce47461b4410655.tar.bz2
change group bookmarks to get from container guid
git-svn-id: http://code.elgg.org/elgg/trunk@5691 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/bookmarks/views')
-rwxr-xr-xmod/bookmarks/views/default/bookmarks/group_bookmarks.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/bookmarks/views/default/bookmarks/group_bookmarks.php b/mod/bookmarks/views/default/bookmarks/group_bookmarks.php
index c99ffe73a..2f677fb44 100755
--- a/mod/bookmarks/views/default/bookmarks/group_bookmarks.php
+++ b/mod/bookmarks/views/default/bookmarks/group_bookmarks.php
@@ -1,8 +1,8 @@
<?php
//grab the groups bookmarks
-//@todo adjust so it actually grabs the group bookmarks rather than the users
-$bookmarks = get_entities('object', 'bookmarks',$vars['entity']->owner_guid, "", 6, 0, false);
+$bookmarks = elgg_get_entities(array('type' => 'object', 'subtype' => 'bookmarks',
+ 'container_guids' => $vars['entity']->container_guid, 'limit' => 6));
echo "<div class='group_tool_widget'><h3>".elgg_echo('bookmarks:group')."</h3>";