summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-05-17 08:53:39 +0100
committerAndrew Dolgov <[email protected]>2007-05-17 08:53:39 +0100
commit156a785dc2a2e85898d36e48ddb02f354fb0bfa9 (patch)
treef27b3dd93cc765f8cdbc7b7d56a489397d37ceb9 /functions.php
parent11c9ea1fc0948593974f7caf9eb110f4d60cceab (diff)
fix BLACKLISTED_TAGS checking
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php3
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);
}
}