1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-12-01 18:47:20 +01:00

board management bug with certain themes enabled

This commit is contained in:
Michael Save 2012-02-19 19:01:03 +11:00
parent f666b39476
commit 3579e37289

View File

@ -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']);
}