diff options
| author | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-11 21:06:13 +1000 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-11 21:06:13 +1000 |
| commit | 4bce3d75842c76934c112c11ebdfbc8705e40c8f (patch) | |
| tree | 9682d8d90b7e10e783806202aa2eaccd20979398 /inc/display.php | |
| parent | 7d1acd4a0580449cf16da944535f0d268ee74275 (diff) | |
Clean: 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 893b7ce5..99228fc3 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) && $config['boardlist_wrap_bracket']) + if ($config['boardlist_wrap_bracket'] && !preg_match('/\] $/', $body)) $body = '[' . $body . ']'; $body = trim($body); |
