From 1fb892c2b9493d2eba7cef77dc4b875d7e69300e Mon Sep 17 00:00:00 2001 From: czaks Date: Thu, 23 Apr 2015 02:41:17 +0200 Subject: [PATCH] fileboard: op tag fix --- post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post.php b/post.php index ff32e705..5a583b88 100644 --- a/post.php +++ b/post.php @@ -646,7 +646,7 @@ elseif (isset($_POST['post'])) { } } - if ($config['allowed_tags'] && $_POST['op'] && isset($_POST['tag']) && isset($config['allowed_tags'][$_POST['tag']])) { + if ($config['allowed_tags'] && $post['op'] && isset($_POST['tag']) && isset($config['allowed_tags'][$_POST['tag']])) { $post['body'] .= "\n" . $_POST['tag'] . ""; }