forked from GNUsocial/gnu-social
Fix typo in filteringnoticestream that caused some messages to get lost
This commit is contained in:
parent
d7304d5659
commit
18a994d105
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user