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.php12
1 files changed, 1 insertions, 11 deletions
diff --git a/views/default/navigation/pagination.php b/views/default/navigation/pagination.php
index 123150cd7..12bf5ec20 100644
--- a/views/default/navigation/pagination.php
+++ b/views/default/navigation/pagination.php
@@ -44,23 +44,13 @@
$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){
?>
<div class="pagination">
<?php
- //if ($count == 0) {
-
- // static $notfounddisplayed;
- // if (!isset($notfounddisplayed) && $nonefound) {
- // echo elgg_echo("notfound");
- // $notfounddisplayed = true;
- // }
-
- //}
-
if ($offset > 0) {
$prevoffset = $offset - $limit;