diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2010-12-16 21:42:31 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2010-12-16 21:42:31 +1100 |
| commit | a896abbd667fb8d1cb2f04be34a7a1a9daae6626 (patch) | |
| tree | 652e387634b624c9468e75de6c588fe59d25604a | |
| parent | 22641bdc58909485cfcd9c05e4ac4f231022fe6f (diff) | |
Fixed bug causing errors when visiting a board index in a certain way
| -rw-r--r-- | mod.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -166,7 +166,7 @@ if(!openBoard($boardName)) error(ERROR_NOBOARD); - $page = index($matches[2] == FILE_INDEX ? 1 : $matches[2], true); + $page = index(empty($matches[2]) || $matches[2] == FILE_INDEX ? 1 : $matches[2], true); $page['pages'] = getPages(true); $page['mod'] = true; |
