diff --git a/bl-kernel/helpers/paginator.class.php b/bl-kernel/helpers/paginator.class.php
index 70207bef..90e73b9e 100644
--- a/bl-kernel/helpers/paginator.class.php
+++ b/bl-kernel/helpers/paginator.class.php
@@ -109,14 +109,14 @@ class Paginator {
$html = '
';
$html .= '
';
- if(self::get('showNext'))
+ if(self::get('showPrev'))
{
if($textPrevPage===false) {
$textPrevPage = '« '.$L->g('Previous page');
}
$html .= '- ';
- $html .= ''.$textPrevPage.'';
+ $html .= ''.$textPrevPage.'';
$html .= '
';
}
@@ -124,14 +124,14 @@ class Paginator {
$html .= '- '.(self::get('currentPage')+1).' / '.(self::get('numberOfPages')+1).'
';
}
- if(self::get('showPrev'))
+ if(self::get('showNext'))
{
if($textNextPage===false) {
$textNextPage = $L->g('Next page').' »';
}
$html .= '- ';
- $html .= ''.$textNextPage.'';
+ $html .= ''.$textNextPage.'';
$html .= '
';
}