aboutsummaryrefslogtreecommitdiffstats
path: root/include/follow.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-12-18 09:59:34 +0100
committerMario Vavti <mario@mariovavti.com>2018-12-18 09:59:34 +0100
commit63b205c601c8ff567407155c327515bb0c5165b3 (patch)
treeedd456a39ad0daf12d6cc4409a99477f4fb38d82 /include/follow.php
parentd190b1995b0886b430beb5dac1a1e72582b9ad2b (diff)
parent8d70b919551f6f6462e639f7cfffda9825344e43 (diff)
downloadvolse-hubzilla-63b205c601c8ff567407155c327515bb0c5165b3.tar.gz
volse-hubzilla-63b205c601c8ff567407155c327515bb0c5165b3.tar.bz2
volse-hubzilla-63b205c601c8ff567407155c327515bb0c5165b3.zip
Merge remote-tracking branch 'mike/master' into dev
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(
[