Browse Source

Permissions on mod controls when making a new thread

pull/40/head
Savetheinternet 13 years ago
parent
commit
567d37c62e
  1. 3
      post.php

3
post.php

@ -94,6 +94,9 @@
$post['sticky'] = $OP && isset($_POST['sticky']);
$post['locked'] = $OP && isset($_POST['lock']);
if($post['sticky'] && $mod['type'] < MOD_STICKY) error(ERROR_NOACCESS);
if($post['locked'] && $mod['type'] < MOD_LOCK) error(ERROR_NOACCESS);
}
if($post['has_file']) {

Loading…
Cancel
Save