diff options
| author | czaks <marcin@6irc.net> | 2015-02-26 21:44:52 +0100 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2015-02-26 21:44:52 +0100 |
| commit | a93f168c79a0c8137a6d9032d42e598469b4b072 (patch) | |
| tree | e86739600846f438e31958457d7012150e72d069 /post.php | |
| parent | 0ab8890b67f58c8323fcbe6468dc9c580a4602ec (diff) | |
| parent | 30d2f3adc3ac97d8f460e8e38dd70fa0a575c9c6 (diff) | |
Merge branch 'master' of github.com:vichan-devel/Tinyboard
Diffstat (limited to 'post.php')
| -rw-r--r-- | post.php | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -16,6 +16,10 @@ if (get_magic_quotes_gpc()) { $_POST = strip_array($_POST); } +if (!$_POST['mod'] && $config['board_locked']) { + error("Board is locked"); +} + if (isset($_POST['delete'])) { // Delete |
