board management bug with certain themes enabled

This commit is contained in:
Michael Save 2012-02-19 19:01:03 +11:00
parent 2a243b2acb
commit 3e9e51b1e7

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