diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2011-03-17 23:45:14 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2011-03-17 23:45:14 +1100 |
| commit | 08c3edecc1c29187e11f3a9214e49c571d0f74a8 (patch) | |
| tree | 97a9ff726074d43fba904e57c5f4702a06bb7343 | |
| parent | 0156daaf553f382a32c6e36287dbbfea868fc52b (diff) | |
Add [ and ] in the boardlist when non existant
| -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>', |
