Browse Source

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

pull/40/head
Savetheinternet 14 years ago
parent
commit
a896abbd66
  1. 2
      mod.php

2
mod.php

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

Loading…
Cancel
Save