Implemented fix for Invalid link_for call referencing deleted thread when op is deleted #98
This commit is contained in:
parent
501678d6bb
commit
b91432727c
2
post.php
2
post.php
@ -254,7 +254,7 @@ if (isset($_POST['delete'])) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_syslog(LOG_INFO, 'Deleted post: ' .
|
_syslog(LOG_INFO, 'Deleted post: ' .
|
||||||
'/' . $board['dir'] . $config['dir']['res'] . link_for($post) . ($post['thread'] ? '#' . $id : '')
|
'/' . $board['dir'] . $config['dir']['res'] . sprintf($config['file_page'], $post['thread'] ? $post['thread'] : $id) . ($post['thread'] ? '#' . $id : '')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user