diff options
Diffstat (limited to 'mod/post.php')
-rw-r--r-- | mod/post.php | 2 |
1 files changed, 1 insertions, 1 deletions
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']) ); |