diff options
| author | czaks <marcin@6irc.net> | 2015-02-27 21:24:57 +0100 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2015-02-27 21:24:57 +0100 |
| commit | eb245c2970062620f349024922f8c48379ffea88 (patch) | |
| tree | 6184d29f39c39d17d2fca1b15f908f34468619d8 /post.php | |
| parent | bffe03e65171a4ba7da40573d9f0131b58e9cb48 (diff) | |
| parent | f51e72c63de889b8ce1904a993d008967f99b583 (diff) | |
Merge branch 'master' of github.com:vichan-devel/Tinyboard
Diffstat (limited to 'post.php')
| -rw-r--r-- | post.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16,7 +16,7 @@ if (get_magic_quotes_gpc()) { $_POST = strip_array($_POST); } -if (!$_POST['mod'] && $config['board_locked']) { +if ((!isset($_POST['mod']) || !$_POST['mod']) && $config['board_locked']) { error("Board is locked"); } |
