diff options
| author | ctrlcctrlv <wizardchan@hush.com> | 2013-08-08 18:43:24 +0000 |
|---|---|---|
| committer | ctrlcctrlv <wizardchan@hush.com> | 2013-08-08 18:43:24 +0000 |
| commit | 3aa1305dab1cd651465547352ac74b8a876656c7 (patch) | |
| tree | a7e6b38b38fa8c28cdcda1a561f2cb11fdfa1a6a /inc/display.php | |
| parent | 73f53d35292270808e69eb98f8662eb675e3116b (diff) | |
Make boardlist bracket wrapping optional
Diffstat (limited to 'inc/display.php')
| -rw-r--r-- | inc/display.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/display.php b/inc/display.php index 18eeb1f6..8c7252ec 100644 --- a/inc/display.php +++ b/inc/display.php @@ -46,7 +46,7 @@ function createBoardlist($mod=false) { if (!isset($config['boards'])) return array('top'=>'','bottom'=>''); $body = doBoardListPart($config['boards'], $mod?'?/':$config['root']); - if (!preg_match('/\] $/', $body)) + if (!preg_match('/\] $/', $body) && $config['boardlist_wrap_bracket']) $body = '[' . $body . ']'; $body = trim($body); |
