Browse Source

board management bug with certain themes enabled

pull/40/head
Michael Save 12 years ago
parent
commit
3e9e51b1e7
  1. 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…
Cancel
Save