From 65785ead697056130d01520a917bfc2626788c0c Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Fri, 28 Sep 2018 01:05:03 +0200 Subject: Update zot.php --- include/zot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/zot.php') diff --git a/include/zot.php b/include/zot.php index 629bcf0bd..1a632cf87 100644 --- a/include/zot.php +++ b/include/zot.php @@ -4818,7 +4818,7 @@ function zot_reply_pickup($data) { json_return_and_die($ret); } - $r = q("select distinct hubloc_sitekey from hubloc where hubloc_url = '%s' and hubloc_callback = '%s' and hubloc_sitekey != '' pgrp by 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