Browse Source

Fixed bug allowing lock of non-OP posts

pull/40/head
Savetheinternet 13 years ago
parent
commit
0fc51119de
  1. 4
      post.php

4
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']) {

Loading…
Cancel
Save