forked from leftypol/leftypol
functions.php: minor format
This commit is contained in:
parent
6763f7b416
commit
f2d0ac7341
1 changed files with 6 additions and 11 deletions
|
|
@ -2228,20 +2228,15 @@ function markup(&$body, $track_cites = false) {
|
|||
$clauses = array_unique($clauses);
|
||||
|
||||
if ($board['uri'] != $_board) {
|
||||
if (!openBoard($_board)){
|
||||
if (in_array($_board,array_keys($config['boards_alias']))){
|
||||
$_board = $config['boards_alias'][$_board];
|
||||
if (openBoard($_board)){
|
||||
|
||||
}
|
||||
else {
|
||||
if (!openBoard($_board)) {
|
||||
if (\in_array($_board, \array_keys($config['boards_alias']))) {
|
||||
$_board = $config['boards_alias'][$_board];
|
||||
if (!openBoard($_board)) {
|
||||
continue; // Unknown board
|
||||
}
|
||||
}
|
||||
else {
|
||||
}
|
||||
} else {
|
||||
continue; // Unknown board
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue