diff options
Diffstat (limited to 'inc/display.php')
| -rw-r--r-- | inc/display.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/display.php b/inc/display.php index cc890ee6..7f10a597 100644 --- a/inc/display.php +++ b/inc/display.php @@ -41,6 +41,8 @@ if(!isset($config['boards'])) return Array('top'=>'','bottom'=>''); $body = doBoardListPart($config['boards'], $mod?'?/':$config['root']); + if(!preg_match('/\]$/', $body)) + $body = '[' . $body . ']'; return Array( 'top' => '<div class="boardlist">' . $body . '</div>', |
