summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2015-04-23 02:41:17 +0200
committerczaks <marcin@6irc.net>2015-04-23 02:41:17 +0200
commitb5370fd3e57d99f35fd68f9db2ac4feb43963626 (patch)
treefc06ad8f6ba676b98b8cba156fb17962ed45397b /post.php
parent4014682882d0b390dc099d05e6701521e5f64a31 (diff)
fileboard: op tag fix
Diffstat (limited to 'post.php')
-rw-r--r--post.php2
1 files changed, 1 insertions, 1 deletions
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<tinyboard flag alt>" . $flag_alt . "</tinyboard>";
}
- 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<tinyboard tag>" . $_POST['tag'] . "</tinyboard>";
}