aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Locs.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Module/Locs.php b/Zotlabs/Module/Locs.php
index 7273c108c..2dd359c95 100644
--- a/Zotlabs/Module/Locs.php
+++ b/Zotlabs/Module/Locs.php
@@ -41,6 +41,7 @@ class Locs extends Controller {
$x = q("select * from hubloc where hubloc_id = %d and hubloc_hash = '%s' ",
intval($hubloc_id),
dbesc($channel['channel_hash'])
+ );
if ($x) {
hubloc_change_primary($x[0]);