aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/membership.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/membership.php')
-rw-r--r--mod/groups/membership.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/groups/membership.php b/mod/groups/membership.php
index bfce96741..dd5fd675b 100644
--- a/mod/groups/membership.php
+++ b/mod/groups/membership.php
@@ -21,10 +21,10 @@
// Get objects
$area2 = elgg_view('page_elements/content_header', array('context' => "mine", 'type' => 'groups', 'new_link' => "pg/groups/new"));
- set_context('search');
+ elgg_push_context('search');
// offset is grabbed in the list_entities_from_relationship() function
$objects = list_entities_from_relationship('member',page_owner(),false,'group','',0, $limit,false, false);
- set_context('groups');
+ elgg_pop_context();
$area2 .= $objects;
$body = elgg_view_layout('one_column_with_sidebar', $area1.$area2);