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