aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Affinity.php
diff options
context:
space:
mode:
authorDM42.Net (Matt Dent) <dentm42@dm42.net>2018-12-14 13:59:41 -0500
committerDM42.Net (Matt Dent) <dentm42@dm42.net>2018-12-14 13:59:41 -0500
commitde7cb6d6ad7902f28e63759350613ed4b30a055b (patch)
tree5b78d3f541aa877a71c16dba9551ddc56134e1b6 /Zotlabs/Widget/Affinity.php
parenteb297104debfc42fe6f3afee4eae3c2602627aeb (diff)
downloadvolse-hubzilla-de7cb6d6ad7902f28e63759350613ed4b30a055b.tar.gz
volse-hubzilla-de7cb6d6ad7902f28e63759350613ed4b30a055b.tar.bz2
volse-hubzilla-de7cb6d6ad7902f28e63759350613ed4b30a055b.zip
Fix syntax error
Diffstat (limited to 'Zotlabs/Widget/Affinity.php')
-rw-r--r--Zotlabs/Widget/Affinity.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Widget/Affinity.php b/Zotlabs/Widget/Affinity.php
index e9dac6b27..28190e187 100644
--- a/Zotlabs/Widget/Affinity.php
+++ b/Zotlabs/Widget/Affinity.php
@@ -17,7 +17,7 @@ class Affinity {
if(feature_enabled(local_channel(),'affinity')) {
- $affinity_locked = int(get_pconfig(local_channel(),'affinity','lock',1));
+ $affinity_locked = intval(get_pconfig(local_channel(),'affinity','lock',1));
if ($affinity_locked) {
set_pconfig(local_channel(),'affinity','cmin',$cmin);
set_pconfig(local_channel(),'affinity','cmax',$cmax);