aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRedMatrix <info@friendica.com>2015-03-12 12:14:28 +1100
committerRedMatrix <info@friendica.com>2015-03-12 12:14:28 +1100
commit48f99c9a608a7fdf93a3f5a76747e073d52e4d5e (patch)
tree54cf8c7ded31f2609d7ae7001214c4ec31f714b9
parentd80088f6f6b2d976fc683fcc6db52d2d5ba2f092 (diff)
parent4e98a70e66ccac9de891760219bf86eda3bb3d68 (diff)
downloadvolse-hubzilla-48f99c9a608a7fdf93a3f5a76747e073d52e4d5e.tar.gz
volse-hubzilla-48f99c9a608a7fdf93a3f5a76747e073d52e4d5e.tar.bz2
volse-hubzilla-48f99c9a608a7fdf93a3f5a76747e073d52e4d5e.zip
Merge pull request #925 from unary/fixinsert
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),