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'] . ""; }