Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts: inc/config.php inc/display.php inc/mod/pages.php js/catalog-link.js post.php templates/banned.html
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user