From 18a994d105e4221ac8da58226309dca1d3503ca9 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 29 Mar 2011 15:19:04 -0700 Subject: [PATCH] Fix typo in filteringnoticestream that caused some messages to get lost --- lib/filteringnoticestream.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/filteringnoticestream.php b/lib/filteringnoticestream.php index ab39ad8ac9..96b9432fc1 100644 --- a/lib/filteringnoticestream.php +++ b/lib/filteringnoticestream.php @@ -84,7 +84,7 @@ abstract class FilteringNoticeStream extends NoticeStream while ($raw->fetch()) { if ($this->filter($raw)) { $filtered[] = clone($raw); - if (count($filtered >= $total)) { + if (count($filtered) >= $total) { break; } } -- 2.39.5