From 3e9e51b1e7ac8375976c54e305de0c04a48c575e Mon Sep 17 00:00:00 2001 From: Michael Save Date: Sun, 19 Feb 2012 19:01:03 +1100 Subject: [PATCH] board management bug with certain themes enabled --- mod.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/mod.php b/mod.php index ff9fee94..f8d624e8 100644 --- a/mod.php +++ b/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']); }