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:
parent
f666b39476
commit
3579e37289
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…
Reference in New Issue
Block a user