aboutsummaryrefslogtreecommitdiff
path: root/views/default/navigation
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/navigation')
-rw-r--r--views/default/navigation/pagination.php2
-rw-r--r--views/default/navigation/site_nav.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/views/default/navigation/pagination.php b/views/default/navigation/pagination.php
index d193bd433..846598d1b 100644
--- a/views/default/navigation/pagination.php
+++ b/views/default/navigation/pagination.php
@@ -25,7 +25,7 @@ $totalpages = ceil($count / $limit);
$currentpage = ceil($offset / $limit) + 1;
//only display if there is content to paginate through or if we already have an offset
-if (($count > $limit || $offset > 0) && get_context() != 'widget') {
+if (($count > $limit || $offset > 0) && elgg_get_context() != 'widget') {
?>
diff --git a/views/default/navigation/site_nav.php b/views/default/navigation/site_nav.php
index 0cb867c5f..a7f31c5f9 100644
--- a/views/default/navigation/site_nav.php
+++ b/views/default/navigation/site_nav.php
@@ -10,7 +10,7 @@ $more = $nav_items['more'];
$nav_html = '';
$more_nav_html = '';
-$context = get_context();
+$context = elgg_get_context();
// sort more links alphabetically
$more_sorted = array();