aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Johnston <michaelgeorgejohnston@gmail.com>2015-03-11 20:56:40 -0400
committerMichael Johnston <michaelgeorgejohnston@gmail.com>2015-03-11 20:56:40 -0400
commit4e98a70e66ccac9de891760219bf86eda3bb3d68 (patch)
treeb3f4264c60ee0caf0587ca3c940934106f346e69
parent848274bb30add2d3ebee868cb2352f6ab182bccd (diff)
downloadvolse-hubzilla-4e98a70e66ccac9de891760219bf86eda3bb3d68.tar.gz
volse-hubzilla-4e98a70e66ccac9de891760219bf86eda3bb3d68.tar.bz2
volse-hubzilla-4e98a70e66ccac9de891760219bf86eda3bb3d68.zip
add missing %d for abook_closeness
-rw-r--r--include/zot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php
index c3325609b..5c12dc4ba 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -469,7 +469,7 @@ function zot_refresh($them,$channel = null, $force = false) {
if($closeness === false)
$closeness = 80;
- $y = q("insert into abook ( abook_account, abook_channel, abook_closeness, abook_xchan, abook_their_perms, abook_my_perms, abook_created, abook_updated, abook_dob, abook_flags ) values ( %d, %d, '%s', %d, %d, '%s', '%s', '%s', %d )",
+ $y = q("insert into abook ( abook_account, abook_channel, abook_closeness, abook_xchan, abook_their_perms, abook_my_perms, abook_created, abook_updated, abook_dob, abook_flags ) values ( %d, %d, %d, '%s', %d, %d, '%s', '%s', '%s', %d )",
intval($channel['channel_account_id']),
intval($channel['channel_id']),
intval($closeness),