aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-12-10 19:43:54 -0800
committerzotlabs <mike@macgirvin.com>2017-12-10 19:43:54 -0800
commit4859e6e11a725c345de24749f8600a20ea0a4c2f (patch)
treef6cdb624453390b2b1f7aba60d999977c3394046 /include/zot.php
parentc2990964f07edaae447587e50c28e9a9eeb9bc80 (diff)
downloadvolse-hubzilla-4859e6e11a725c345de24749f8600a20ea0a4c2f.tar.gz
volse-hubzilla-4859e6e11a725c345de24749f8600a20ea0a4c2f.tar.bz2
volse-hubzilla-4859e6e11a725c345de24749f8600a20ea0a4c2f.zip
sql compliance issue
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php
index d60494d94..6c0d92a42 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -2552,7 +2552,7 @@ function sync_locations($sender, $arr, $absolute = false) {
'hubloc_hash' => $sender['hash'],
'hubloc_addr' => $location['address'],
'hubloc_network' => 'zot',
- 'hubloc_primary' => $location['primary'],
+ 'hubloc_primary' => intval($location['primary']),
'hubloc_url' => $location['url'],
'hubloc_url_sig' => $location['url_sig'],
'hubloc_host' => $location['host'],