summaryrefslogtreecommitdiff
path: root/inc/functions.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2010-11-30 20:00:48 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2010-11-30 20:00:48 +1100
commitab5429dfc4b39f4528a5636f7af90810d7e3f87b (patch)
tree1197cf3d1b6a28fce2c64139b0fc505b3b2779db /inc/functions.php
parentaab95da24def6a3d4579b1551c74d817f79ec10c (diff)
Bug fix for page links
Diffstat (limited to 'inc/functions.php')
-rw-r--r--inc/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/functions.php b/inc/functions.php
index aac390fc..a78065b0 100644
--- a/inc/functions.php
+++ b/inc/functions.php
@@ -135,7 +135,7 @@
$pages = Array();
for($x=0;$x<$count && $x<MAX_PAGES;$x++) {
- $pages[] = Array('num' => $x+1, 'link' => $x==0 ? ROOT . $board['dir'] . FILE_INDEX : ROOT . sprintf(FILE_PAGE, $x+1));
+ $pages[] = Array('num' => $x+1, 'link' => $x==0 ? ROOT . $board['dir'] . FILE_INDEX : ROOT . $board['dir'] . sprintf(FILE_PAGE, $x+1));
}
mysql_free_result($res);