fix BLACKLISTED_TAGS checking
This commit is contained in:
parent
11c9ea1fc0
commit
156a785dc2
|
@ -880,7 +880,8 @@
|
||||||
|
|
||||||
if ($additional_tags && is_array($additional_tags)) {
|
if ($additional_tags && is_array($additional_tags)) {
|
||||||
foreach ($additional_tags as $tag) {
|
foreach ($additional_tags as $tag) {
|
||||||
if (tag_is_valid($tag) && !array_key_exists($tag, $boring_tags)) {
|
if (tag_is_valid($tag) &&
|
||||||
|
array_search($tag, $boring_tags) === FALSE) {
|
||||||
array_push($entry_tags, $tag);
|
array_push($entry_tags, $tag);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue