forked from leftypol/leftypol
Implemented fix for Invalid link_for call referencing deleted thread when op is deleted #98
This commit is contained in:
parent
040803bbc2
commit
9d5e98a9a3
1 changed files with 1 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue