From a9d0ee1f421e2440b9b40757b9abc81b2ba4902d Mon Sep 17 00:00:00 2001 From: 8chan Date: Tue, 5 May 2015 22:44:12 -0700 Subject: [PATCH] Bugfix: Allow blank tag in fileboards, do not show empty tinyboard markups --- post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post.php b/post.php index 7d8a0bc7..576a17bd 100644 --- a/post.php +++ b/post.php @@ -664,7 +664,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']) && $_POST['tag'] && isset($config['allowed_tags'][$_POST['tag']])) { $post['body'] .= "\n" . $_POST['tag'] . ""; }