Don't allow users to post in locked threads'

This commit is contained in:
Savetheinternet committed 2011-01-03 01:23:34 +11:00
1 parent 567d37c62e
commit 5df6f85854
3 files changed
+21

No files matched your search

+3
View File
@@ -70,6 +70,9 @@
if(!$OP && !threadExists($post['thread']))
error(ERROR_NONEXISTANT);
if(!$OP && threadLocked($post['thread']))
error(ERROR_LOCKED);
// Check for a file
if($OP) {
if(!isset($_FILES['file']['tmp_name']) || empty($_FILES['file']['tmp_name']))