mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-30 18:24:29 +01:00
fileboard: op tag fix
This commit is contained in:
parent
4014682882
commit
b5370fd3e5
2
post.php
2
post.php
@ -541,7 +541,7 @@ if (isset($_POST['delete'])) {
|
|||||||
"\n<tinyboard flag alt>" . $flag_alt . "</tinyboard>";
|
"\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>";
|
$post['body'] .= "\n<tinyboard tag>" . $_POST['tag'] . "</tinyboard>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user