Fix 'page' links to work with special characters properly.
This commit is contained in:
parent
4d6594071d
commit
af935ff319
|
@ -38,7 +38,7 @@ function thread_pageselect($group, $article_count, $first)
|
|||
for ($i = 0; $i < $pages; $i ++) {
|
||||
// echo '[';
|
||||
if ($first != $i * $articles_per_page + 1) {
|
||||
echo '<a class="np_pages_unselected" href="' . $file_thread . '?group=' . $group . '&first=' . ($i * $articles_per_page + 1) . '&last=' . ($i + 1) * $articles_per_page . '">';
|
||||
echo '<a class="np_pages_unselected" href="' . $file_thread . '?group=' . urlencode($group) . '&first=' . ($i * $articles_per_page + 1) . '&last=' . ($i + 1) * $articles_per_page . '">';
|
||||
} else {
|
||||
// echo 'PAGE: '.$i.' OF: '.$pages;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue