diff options
author | Thomas Willingham <beardyunixer@beardyunixer.com> | 2014-10-03 15:16:05 +0100 |
---|---|---|
committer | Thomas Willingham <beardyunixer@beardyunixer.com> | 2014-10-03 15:16:05 +0100 |
commit | 557894bc0192e61059b14792d3cf2f12789385e5 (patch) | |
tree | 2427600c5bc0fed334c4f97ca10862dc3bdaba23 /include | |
parent | 09e0b4e2a18875f3b9df095f06e0829c3a59961b (diff) | |
download | volse-hubzilla-557894bc0192e61059b14792d3cf2f12789385e5.tar.gz volse-hubzilla-557894bc0192e61059b14792d3cf2f12789385e5.tar.bz2 volse-hubzilla-557894bc0192e61059b14792d3cf2f12789385e5.zip |
That's a string, not an integer
Diffstat (limited to 'include')
-rw-r--r-- | include/identity.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/identity.php b/include/identity.php index 03c3bea22..fc07bd4e4 100644 --- a/include/identity.php +++ b/include/identity.php @@ -255,7 +255,7 @@ function create_identity($arr) { $r = q("insert into channel ( channel_account_id, channel_primary, channel_name, channel_address, channel_guid, channel_guid_sig, channel_hash, channel_prvkey, channel_pubkey, channel_pageflags, channel_expire_days, channel_timezone $perms_keys ) - values ( %d, %d, '%s', '%s', '%s', '%s', '%s', '%s', '%s', %d, %d, %d $perms_vals ) ", + values ( %d, %d, '%s', '%s', '%s', '%s', '%s', '%s', '%s', %d, %d, '%s' $perms_vals ) ", intval($arr['account_id']), intval($primary), |