]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix typo in filteringnoticestream that caused some messages to get lost
authorBrion Vibber <brion@pobox.com>
Tue, 29 Mar 2011 22:19:04 +0000 (15:19 -0700)
committerBrion Vibber <brion@pobox.com>
Tue, 29 Mar 2011 22:19:04 +0000 (15:19 -0700)
lib/filteringnoticestream.php

index ab39ad8ac90305c553d380b39e9d0539be473b8b..96b9432fc152bacddb80ad4f42d3e246dd9bbc88 100644 (file)
@@ -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;
                     }
                 }