diff --git a/post.php b/post.php index 5081845f..729170a7 100644 --- a/post.php +++ b/post.php @@ -541,7 +541,7 @@ if (isset($_POST['delete'])) { "\n" . $flag_alt . ""; } - 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'] . ""; }