aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
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 /Zotlabs/Lib
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 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/Libzot.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php
index 0fbde9765..87a5126f4 100644
--- a/Zotlabs/Lib/Libzot.php
+++ b/Zotlabs/Lib/Libzot.php
@@ -397,9 +397,7 @@ logger('4');
}
}
- $closeness = get_pconfig($channel['channel_id'],'system','new_abook_closeness');
- if($closeness === false)
- $closeness = 80;
+ $closeness = get_pconfig($channel['channel_id'],'system','new_abook_closeness',80);
$y = abook_store_lowlevel(
[