Browse Source

Add [ and ] in the boardlist when non existant

pull/40/head
Savetheinternet 12 years ago
parent
commit
08c3edecc1
  1. 2
      inc/display.php

2
inc/display.php

@ -41,6 +41,8 @@
if(!isset($config['boards'])) return Array('top'=>'','bottom'=>'');
$body = doBoardListPart($config['boards'], $mod?'?/':$config['root']);
if(!preg_match('/\]$/', $body))
$body = '[' . $body . ']';
return Array(
'top' => '<div class="boardlist">' . $body . '</div>',

Loading…
Cancel
Save