Permalink
Browse files

Correct pagination path

  • Loading branch information...
1 parent e4e6f9f commit affee143c6d52c38b9c46f2ed9455f85b634503e @DanielMuller committed with root Feb 16, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 views/paginator.html.php
View
@@ -49,7 +49,7 @@ function seo_pagination($url) {
$pattern = '/\?page=([0-9]+)/';
$replacement = 'page/$1';
#REMOVE REDUNDANT /PAGE/1"
- $pattern2 = '/\/page\/1$/';
+ $pattern2 = '/page\/1$/';
$replacement2 = '';
$url=preg_replace($pattern, $replacement, $url);
$url=preg_replace($pattern2, $replacement2, $url);

0 comments on commit affee14

Please sign in to comment.