aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/views.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/views.php')
-rw-r--r--engine/lib/views.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/views.php b/engine/lib/views.php
index 21056db0e..c70489117 100644
--- a/engine/lib/views.php
+++ b/engine/lib/views.php
@@ -843,7 +843,7 @@ $viewtypetoggle = true, $pagination = true) {
$offset = sanitise_int(get_input('offset', 0));
}
- $context = get_context();
+ $context = elgg_get_context();
$html = elgg_view('entities/entity_list', array(
'entities' => $entities,