fix BLACKLISTED_TAGS checking
This commit is contained in:
parent
11c9ea1fc0
commit
156a785dc2
1 changed files with 2 additions and 1 deletions
|
@ -880,7 +880,8 @@
|
|||
|
||||
if ($additional_tags && is_array($additional_tags)) {
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue