diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-02-19 19:01:03 +1100 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-02-19 19:01:03 +1100 |
| commit | 3e9e51b1e7ac8375976c54e305de0c04a48c575e (patch) | |
| tree | a150fe382459f20d596d27389e842c36f2b10eb2 | |
| parent | 2a243b2acbafee340a9f1b85d4a1353b613deb58 (diff) | |
board management bug with certain themes enabled
| -rw-r--r-- | mod.php | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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']); } |
