summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
Diffstat (limited to 'post.php')
-rw-r--r--post.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/post.php b/post.php
index 1cae8714..56bddd5d 100644
--- a/post.php
+++ b/post.php
@@ -92,8 +92,8 @@
error(ERROR_NOTAMOD);
}
- $post['sticky'] = isset($_POST['sticky']);
- $post['locked'] = isset($_POST['lock']);
+ $post['sticky'] = $OP && isset($_POST['sticky']);
+ $post['locked'] = $OP && isset($_POST['lock']);
}
if($post['has_file']) {