aboutsummaryrefslogtreecommitdiffstats
path: root/include/notifier.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-11-01 00:50:41 -0700
committerFriendika <info@friendika.com>2011-11-01 00:50:41 -0700
commitf4518c646a588177e93a05363f07b61dce3fb563 (patch)
treebedbd28944b5ce19564fc2b362ffb9938b293c07 /include/notifier.php
parent58d21fe20a0b5218885b9422af5db750682dabad (diff)
downloadvolse-hubzilla-f4518c646a588177e93a05363f07b61dce3fb563.tar.gz
volse-hubzilla-f4518c646a588177e93a05363f07b61dce3fb563.tar.bz2
volse-hubzilla-f4518c646a588177e93a05363f07b61dce3fb563.zip
fixes to diaspora profiles, batch mode duplicates, social graph table name
Diffstat (limited to 'include/notifier.php')
-rw-r--r--include/notifier.php2
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)