diff options
author | zotlabs <mike@macgirvin.com> | 2018-12-17 11:32:59 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-12-17 11:32:59 -0800 |
commit | a33ed05bec38d35131d72e9b3d6d61b5d6a2daaf (patch) | |
tree | 4d73cc51a3b6c83caa092e622f8c3d0d0c4c038b /include | |
parent | 04a45a407ead8e7afcdd3423b773074207e885df (diff) | |
download | volse-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')
-rw-r--r-- | include/follow.php | 4 |
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( [ |