aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRedMatrix <info@friendica.com>2015-03-09 17:43:34 +1100
committerRedMatrix <info@friendica.com>2015-03-09 17:43:34 +1100
commitaf831d752ab066ae2186c5693c7456ad35d5a56f (patch)
treec1a066a159d000fef862feadb0582c2dce247989
parentf7d1fb9c5a9f34b27f362b34782671cedb048649 (diff)
parent904596c7da50f63fd23c9008c97f6cc86d8c8697 (diff)
downloadvolse-hubzilla-af831d752ab066ae2186c5693c7456ad35d5a56f.tar.gz
volse-hubzilla-af831d752ab066ae2186c5693c7456ad35d5a56f.tar.bz2
volse-hubzilla-af831d752ab066ae2186c5693c7456ad35d5a56f.zip
Merge pull request #921 from solstag/closenessfix
Fix missing value in insert for default closeness
-rw-r--r--include/follow.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/follow.php b/include/follow.php
index e13b5f775..fd4e1597a 100644
--- a/include/follow.php
+++ b/include/follow.php
@@ -233,7 +233,7 @@ function new_contact($uid,$url,$channel,$interactive = false, $confirm = false)
$closeness = 80;
$r = q("insert into abook ( abook_account, abook_channel, abook_closeness, abook_xchan, abook_flags, abook_their_perms, abook_my_perms, abook_created, abook_updated )
- values( %d, %d, '%s', %d, %d, %d, '%s', '%s' ) ",
+ values( %d, %d, %d, '%s', %d, %d, %d, '%s', '%s' ) ",
intval($aid),
intval($uid),
intval($closeness),