diff options
Diffstat (limited to 'views/default/navigation/pagination.php')
-rw-r--r-- | views/default/navigation/pagination.php | 2 |
1 files changed, 1 insertions, 1 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') { ?> |