mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-24 15:40:12 +01:00
edit bugfixes
This commit is contained in:
parent
9fec3646fa
commit
e145a0ea89
@ -1013,6 +1013,11 @@ function mod_edit_post($board, $post) {
|
|||||||
$query->bindValue(':body', $_POST['body']);
|
$query->bindValue(':body', $_POST['body']);
|
||||||
$query->execute() or error(db_error($query));
|
$query->execute() or error(db_error($query));
|
||||||
|
|
||||||
|
$thread = $_post['thread'];
|
||||||
|
buildThread($thread ? $thread : $post);
|
||||||
|
modLog("Edited post #{$post}");
|
||||||
|
buildIndex();
|
||||||
|
|
||||||
header('Location: ?/' . sprintf($config['board_path'], $board) . $config['file_index'], true, $config['redirect_http']);
|
header('Location: ?/' . sprintf($config['board_path'], $board) . $config['file_index'], true, $config['redirect_http']);
|
||||||
} else {
|
} else {
|
||||||
$args = array(
|
$args = array(
|
||||||
|
Loading…
Reference in New Issue
Block a user