X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2Fwatcheditem%2FNoWriteWatchedItemStore.php;h=69dcec854e0dcc380572d4403ece3516da11b62e;hb=4e9eb2f8d75784c78715e7dc3a9c8084d5c54943;hp=72f6086dfb18f470a8589ded63cce0e7e7a038e4;hpb=9f5c319b091fc84796c1e841699cc70c7566bef7;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/watcheditem/NoWriteWatchedItemStore.php b/includes/watcheditem/NoWriteWatchedItemStore.php index 72f6086dfb..69dcec854e 100644 --- a/includes/watcheditem/NoWriteWatchedItemStore.php +++ b/includes/watcheditem/NoWriteWatchedItemStore.php @@ -57,7 +57,10 @@ class NoWriteWatchedItemStore implements WatchedItemStoreInterface { } public function countWatchersMultiple( array $targets, array $options = [] ) { - return $this->actualStore->countVisitingWatchersMultiple( $targets, $options ); + return $this->actualStore->countVisitingWatchersMultiple( + $targets, + $options['minimumWatchers'] ?? null + ); } public function countVisitingWatchersMultiple(