fix multiple TAG filters not being applied properly
This commit is contained in:
parent
2712bcea09
commit
4d50f419ee
|
@ -1371,11 +1371,10 @@
|
|||
|
||||
# check for manual tags
|
||||
|
||||
$tag_filter = find_article_filter($article_filters, "tag");
|
||||
foreach ($article_filters as $f) {
|
||||
if ($f[0] == "tag") {
|
||||
|
||||
if ($tag_filter) {
|
||||
|
||||
$manual_tags = trim_array(split(",", $tag_filter[1]));
|
||||
$manual_tags = trim_array(split(",", $f[1]));
|
||||
|
||||
foreach ($manual_tags as $tag) {
|
||||
if (tag_is_valid($tag)) {
|
||||
|
@ -1383,6 +1382,7 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$boring_tags = trim_array(split(",", mb_strtolower(get_pref($link,
|
||||
'BLACKLISTED_TAGS', $owner_uid, ''), 'utf-8')));
|
||||
|
|
Loading…
Reference in New Issue