aboutsummaryrefslogtreecommitdiffstats
path: root/include/channel.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/channel.php
parentc2990964f07edaae447587e50c28e9a9eeb9bc80 (diff)
downloadvolse-hubzilla-4859e6e11a725c345de24749f8600a20ea0a4c2f.tar.gz
volse-hubzilla-4859e6e11a725c345de24749f8600a20ea0a4c2f.tar.bz2
volse-hubzilla-4859e6e11a725c345de24749f8600a20ea0a4c2f.zip
sql compliance issue
Diffstat (limited to 'include/channel.php')
-rw-r--r--include/channel.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/channel.php b/include/channel.php
index 16afd8209..2d40b7db6 100644
--- a/include/channel.php
+++ b/include/channel.php
@@ -325,7 +325,7 @@ function create_identity($arr) {
'hubloc_guid_sig' => $sig,
'hubloc_hash' => $hash,
'hubloc_addr' => channel_reddress($ret['channel']),
- 'hubloc_primary' => $primary,
+ 'hubloc_primary' => intval($primary),
'hubloc_url' => z_root(),
'hubloc_url_sig' => base64url_encode(rsa_sign(z_root(),$ret['channel']['channel_prvkey'])),
'hubloc_host' => App::get_hostname(),