diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2010-11-30 23:12:54 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2010-11-30 23:12:54 +1100 |
| commit | b41a4a6ac7392175064c56dcc4d16cab66f541ab (patch) | |
| tree | ecfb0b65318580b3d07476c94031a731bb1d260d /post.php | |
| parent | 79f0656ca20c4833d4000d1613da4d753bf2bc2e (diff) | |
Check if thread exists before posting.
Diffstat (limited to 'post.php')
| -rw-r--r-- | post.php | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -83,6 +83,8 @@ sql_open(); if(!openBoard($post['board'])) error(ERROR_NOBOARD); + if(!$OP && !threadExists($post['thread'])) + error(ERROR_NONEXISTANT); $trip = generate_tripcode($post['name']); $post['name'] = $trip[0]; |
