fix 881f8805bd
behaving improperly
This commit is contained in:
parent
c314bd8742
commit
1e90feef0e
|
@ -1542,7 +1542,8 @@ class RSSUtils {
|
||||||
$match = @preg_match("/$reg_exp/iu", $author);
|
$match = @preg_match("/$reg_exp/iu", $author);
|
||||||
break;
|
break;
|
||||||
case "tag":
|
case "tag":
|
||||||
array_push($tags, ''); // allow matching if there are no tags
|
if (count($tags) == 0)
|
||||||
|
array_push($tags, ''); // allow matching if there are no tags
|
||||||
|
|
||||||
foreach ($tags as $tag) {
|
foreach ($tags as $tag) {
|
||||||
if (@preg_match("/$reg_exp/iu", $tag)) {
|
if (@preg_match("/$reg_exp/iu", $tag)) {
|
||||||
|
|
Loading…
Reference in New Issue