1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-27 17:00:52 +01:00

Fixed bug causing errors when visiting a board index in a certain way

This commit is contained in:
Savetheinternet 2010-12-16 21:42:31 +11:00
parent 22641bdc58
commit a896abbd66

View File

@ -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;