diff options
Diffstat (limited to 'include/notifier.php')
-rw-r--r-- | include/notifier.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/notifier.php b/include/notifier.php index 61274bedf..cc53a17c4 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -710,7 +710,7 @@ function notifier_run($argv, $argc){ if($public_message) { $r1 = q("SELECT DISTINCT(`batch`), `id`, `name`,`network` FROM `contact` WHERE `network` = '%s' - AND `uid` = %d AND `rel` != %d ORDER BY rand() ", + AND `uid` = %d AND `rel` != %d group by `batch` ORDER BY rand() ", dbesc(NETWORK_DIASPORA), intval($owner['uid']), intval(CONTACT_IS_SHARING) |