aboutsummaryrefslogtreecommitdiffstats
path: root/include/follow.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-12-17 11:32:59 -0800
committerzotlabs <mike@macgirvin.com>2018-12-17 11:32:59 -0800
commita33ed05bec38d35131d72e9b3d6d61b5d6a2daaf (patch)
tree4d73cc51a3b6c83caa092e622f8c3d0d0c4c038b /include/follow.php
parent04a45a407ead8e7afcdd3423b773074207e885df (diff)
downloadvolse-hubzilla-a33ed05bec38d35131d72e9b3d6d61b5d6a2daaf.tar.gz
volse-hubzilla-a33ed05bec38d35131d72e9b3d6d61b5d6a2daaf.tar.bz2
volse-hubzilla-a33ed05bec38d35131d72e9b3d6d61b5d6a2daaf.zip
fix default values for affinity tool and other information which could be lost when approving a connection without the entire form provided by connedit.
Diffstat (limited to 'include/follow.php')
-rw-r--r--include/follow.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/follow.php b/include/follow.php
index 964c43ff2..038e6e9c0 100644
--- a/include/follow.php
+++ b/include/follow.php
@@ -266,9 +266,7 @@ function new_contact($uid,$url,$channel,$interactive = false, $confirm = false)
}
}
else {
- $closeness = get_pconfig($uid,'system','new_abook_closeness');
- if($closeness === false)
- $closeness = 80;
+ $closeness = get_pconfig($uid,'system','new_abook_closeness',80);
$r = abook_store_lowlevel(
[