diff options
author | Andrew Dolgov <[email protected]> | 2007-05-17 08:53:39 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-05-17 08:53:39 +0100 |
commit | 156a785dc2a2e85898d36e48ddb02f354fb0bfa9 (patch) | |
tree | f27b3dd93cc765f8cdbc7b7d56a489397d37ceb9 /functions.php | |
parent | 11c9ea1fc0948593974f7caf9eb110f4d60cceab (diff) |
fix BLACKLISTED_TAGS checking
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/functions.php b/functions.php index f6e3cdacd..17712ebce 100644 --- a/functions.php +++ b/functions.php @@ -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); } } |