summaryrefslogtreecommitdiff
path: root/inc/display.php
diff options
context:
space:
mode:
authorctrlcctrlv <wizardchan@hush.com>2013-08-11 15:36:17 +0000
committerctrlcctrlv <wizardchan@hush.com>2013-08-11 15:36:17 +0000
commitb9ec342750009037893e1bb06640905c6d88b5dd (patch)
tree18d253df2e6acaf9d156c1742c233d51357af478 /inc/display.php
parentefebd3022198995395859ddc07b1a48828ef1f89 (diff)
parentaeb33169eaa2c18cbf6d6791dc35e911136f983a (diff)
Merge conflict
Diffstat (limited to 'inc/display.php')
-rw-r--r--inc/display.php3
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);