diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2010-11-30 23:12:54 +1100 |
|---|---|---|
| committer | Paul Merrill <napalminc@gmail.com> | 2010-12-01 04:14:16 -0800 |
| commit | a3b604243b5347fab24e9d9d31380362d489dc6d (patch) | |
| tree | e6145637f79d4f6630ce8fa83c7fa35d083fda02 /post.php | |
| parent | e66c1e7f8dcd6c6f293aa33abea3d5626190001a (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]; |
