diff --git a/include/rssfuncs.php b/include/rssfuncs.php
index 0cd41dc059c8510a94b02d4c2357c00b0962a089..f4f9fa53c60a437343adeb357f8eb37a81eee5a1 100644
--- a/include/rssfuncs.php
+++ b/include/rssfuncs.php
@@ -1271,8 +1271,12 @@
 					$match = @preg_match("/$reg_exp/i", $author);
 					break;
 				case "tag":
-					$tag_string = join(",", $tags);
-					$match = @preg_match("/$reg_exp/i", $tag_string);
+					foreach ($tags as $tag) {
+						if (@preg_match("/$reg_exp/i", $tag)) {
+							$match = true;
+							break;
+						}
+					}
 					break;
 				}