fix BLACKLISTED_TAGS checking

master
Andrew Dolgov 18 years ago
parent 11c9ea1fc0
commit 156a785dc2

@ -880,7 +880,8 @@
if ($additional_tags && is_array($additional_tags)) { if ($additional_tags && is_array($additional_tags)) {
foreach ($additional_tags as $tag) { 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); array_push($entry_tags, $tag);
} }
} }

Loading…
Cancel
Save