aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/relationships.php3
-rw-r--r--mod/groups/views/default/widgets/a_users_groups/view.php2
2 files changed, 3 insertions, 2 deletions
diff --git a/engine/lib/relationships.php b/engine/lib/relationships.php
index 485732a59..8f2d52bbc 100644
--- a/engine/lib/relationships.php
+++ b/engine/lib/relationships.php
@@ -540,9 +540,10 @@
* @param int $limit The number of entities to display on a page
* @param true|false $fullview Whether or not to display the full view (default: true)
* @param true|false $viewtypetoggle Whether or not to allow gallery view
+ * @param true|false $pagination Whether to display pagination (default: true)
* @return string The viewable list of entities
*/
- function list_entities_from_relationship($relationship, $relationship_guid, $inverse_relationship = false, $type = "", $subtype = "", $owner_guid = 0, $limit = 10, $fullview = true, $viewtypetoggle = false) {
+ function list_entities_from_relationship($relationship, $relationship_guid, $inverse_relationship = false, $type = "", $subtype = "", $owner_guid = 0, $limit = 10, $fullview = true, $viewtypetoggle = false, $pagination = true) {
$limit = (int) $limit;
$offset = (int) get_input('offset');
diff --git a/mod/groups/views/default/widgets/a_users_groups/view.php b/mod/groups/views/default/widgets/a_users_groups/view.php
index 7fe933957..ad9a29593 100644
--- a/mod/groups/views/default/widgets/a_users_groups/view.php
+++ b/mod/groups/views/default/widgets/a_users_groups/view.php
@@ -13,7 +13,7 @@
$owner = $vars['entity']->owner_guid;
//$groups = get_users_membership($owner);
- $groups = list_entities_from_relationship('member',$owner,false,'group','',0,$number,false);
+ $groups = list_entities_from_relationship('member',$owner,false,'group','',0,$number,false,false,false);
echo $groups;