From 9b66f16a01d3a3ac0a655c224a7b641853c0079e Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 16 May 2013 21:06:01 -0700 Subject: we don't need every hubloc for the site, only those that have different keys --- mod/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/post.php') diff --git a/mod/post.php b/mod/post.php index 33534ce14..344f5be9e 100644 --- a/mod/post.php +++ b/mod/post.php @@ -191,7 +191,7 @@ function post_post(&$a) { logger('mod_zot: pickup: ' . $ret['message'], LOGGER_DEBUG); json_return_and_die($ret); } - $r = q("select hubloc_sitekey from hubloc where hubloc_url = '%s' and hubloc_callback = '%s' and hubloc_sitekey != '' ", + $r = q("select distinct hubloc_sitekey from hubloc where hubloc_url = '%s' and hubloc_callback = '%s' and hubloc_sitekey != '' group by hubloc_sitekey ", dbesc($data['url']), dbesc($data['callback']) ); -- cgit v1.2.3