fix default values for affinity tool and other information which could be lost when approving a connection without the entire form provided by connedit.

This commit is contained in:
zotlabs
2018-12-17 11:32:59 -08:00
parent 04a45a407e
commit a33ed05bec
5 changed files with 34 additions and 15 deletions

View File

@@ -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(
[