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
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/navigation/pagination.php b/views/default/navigation/pagination.php
index dede753e1..11e3b215f 100644
--- a/views/default/navigation/pagination.php
+++ b/views/default/navigation/pagination.php
@@ -17,7 +17,7 @@
} else {
$offset = $vars['offset'];
}
- if ((!isset($vars['limit'])) || (!$limit)) {
+ if ((!isset($vars['limit'])) || (!$vars['limit'])) {
$limit = 10;
} else {
$limit = (int)$vars['limit'];