aboutsummaryrefslogtreecommitdiff
path: root/views/default/navigation/pagination.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/navigation/pagination.php')
-rw-r--r--views/default/navigation/pagination.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/navigation/pagination.php b/views/default/navigation/pagination.php
index 12bf5ec20..54fa3bdec 100644
--- a/views/default/navigation/pagination.php
+++ b/views/default/navigation/pagination.php
@@ -44,7 +44,7 @@
$baseurl = preg_replace('/[\&\?]'.$word.'\=[0-9]*/',"",$vars['baseurl']);
//only display if there is content to paginate through or if we already have an offset
- if ($count > $limit || $offset > 0){
+ if (($count > $limit || $offset > 0) && get_context() != 'widget') {
?>