aboutsummaryrefslogtreecommitdiffstats
path: root/include/follow.php
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2018-12-20 20:51:26 +0100
committerMax Kostikov <max@kostikov.co>2018-12-20 20:51:26 +0100
commit89e734dcca1525fa804343d6ecf5286ce70b05ba (patch)
tree10d0a3614e9f97f5065ea53fff1c3d5fcd292c16 /include/follow.php
parent3a662555768840d18c6dbba027af644eda54f20e (diff)
parent090fe394e4733aea9e9ca2e9a93c2c27b266d065 (diff)
downloadvolse-hubzilla-89e734dcca1525fa804343d6ecf5286ce70b05ba.tar.gz
volse-hubzilla-89e734dcca1525fa804343d6ecf5286ce70b05ba.tar.bz2
volse-hubzilla-89e734dcca1525fa804343d6ecf5286ce70b05ba.zip
Merge branch 'dev' into 'dev'
Sync dev See merge request kostikov/core!1
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(
[