Skip to content

Commit

Permalink
Merge 94b79e9 into e829116
Browse files Browse the repository at this point in the history
  • Loading branch information
InformatiqueProg committed May 11, 2016
2 parents e829116 + 94b79e9 commit bb0cd92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion local/modules/TheliaSmarty/Template/Plugins/TheliaLoop.php
Expand Up @@ -298,7 +298,7 @@ public function theliaPageLoop($params, $content, $template, &$repeat)
if ($totalPageCount > $displayedPageCount) {
$startPage = $currentPage - round($displayedPageCount / 2);

if ($startPage < 0) {
if ($startPage <= 0) {
$startPage = 1;
}
}
Expand Down

0 comments on commit bb0cd92

Please sign in to comment.