Browse Source

Implemented fix for Invalid link_for call referencing deleted thread when op is deleted #98

pull/40/head
Benjamin Southall 7 years ago
parent
commit
b91432727c
  1. 2
      post.php

2
post.php

@ -254,7 +254,7 @@ if (isset($_POST['delete'])) {
}
_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…
Cancel
Save