board management bug with certain themes enabled
This commit is contained in:
parent
2a243b2acb
commit
3e9e51b1e7
8
mod.php
8
mod.php
@ -1590,8 +1590,12 @@
|
||||
$query->bindValue(':board', $board['uri']);
|
||||
$query->execute() or error(db_error($query));
|
||||
|
||||
$_board = $board;
|
||||
|
||||
rebuildThemes('boards');
|
||||
|
||||
$board = $_board;
|
||||
|
||||
header('Location: ?/', true, $config['redirect_http']);
|
||||
} else {
|
||||
if(isset($_POST['title']) && isset($_POST['subtitle'])) {
|
||||
@ -1611,8 +1615,12 @@
|
||||
cache::delete('all_boards');
|
||||
}
|
||||
|
||||
$_board = $board;
|
||||
|
||||
rebuildThemes('boards');
|
||||
|
||||
$board = $_board;
|
||||
|
||||
openBoard($board['uri']);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user