From: Andrew Dolgov Date: Thu, 17 May 2007 07:53:39 +0000 (+0100) Subject: fix BLACKLISTED_TAGS checking X-Git-Tag: schema_freeze_for_1.2.11~21 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=156a785dc2a2e85898d36e48ddb02f354fb0bfa9;p=tt-rss.git fix BLACKLISTED_TAGS checking --- diff --git a/functions.php b/functions.php index f6e3cdac..17712ebc 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); } }