fix BLACKLISTED_TAGS checking

This commit is contained in:
Andrew Dolgov 2007-05-17 08:53:39 +01:00
parent 11c9ea1fc0
commit 156a785dc2
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}
}