diff options
| author | ctrlcctrlv <wizardchan@hush.com> | 2013-08-11 15:36:17 +0000 |
|---|---|---|
| committer | ctrlcctrlv <wizardchan@hush.com> | 2013-08-11 15:36:17 +0000 |
| commit | b9ec342750009037893e1bb06640905c6d88b5dd (patch) | |
| tree | 18d253df2e6acaf9d156c1742c233d51357af478 /inc/display.php | |
| parent | efebd3022198995395859ddc07b1a48828ef1f89 (diff) | |
| parent | aeb33169eaa2c18cbf6d6791dc35e911136f983a (diff) | |
Merge conflict
Diffstat (limited to 'inc/display.php')
| -rw-r--r-- | inc/display.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/display.php b/inc/display.php index 241f81e3..0fdf1fff 100644 --- a/inc/display.php +++ b/inc/display.php @@ -46,6 +46,9 @@ function createBoardlist($mod=false) { if (!isset($config['boards'])) return array('top'=>'','bottom'=>''); $body = doBoardListPart($config['boards'], $mod?'?/':$config['root']); + + if ($config['boardlist_wrap_bracket'] && !preg_match('/\] $/', $body)) + $body = '[' . $body . ']'; $body = trim($body); |
