aboutsummaryrefslogtreecommitdiffstats
path: root/include/hubloc.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-01-20 16:13:18 -0800
committerfriendica <info@friendica.com>2015-01-20 16:13:18 -0800
commitee3eee425c92b37fba5a7035d8e9ec0b0b563d0b (patch)
treed999bde3128a6a8c514388d318d3a2f68635aa41 /include/hubloc.php
parent6f11f20992c88ff48a55929e94d9003fcc437062 (diff)
downloadvolse-hubzilla-ee3eee425c92b37fba5a7035d8e9ec0b0b563d0b.tar.gz
volse-hubzilla-ee3eee425c92b37fba5a7035d8e9ec0b0b563d0b.tar.bz2
volse-hubzilla-ee3eee425c92b37fba5a7035d8e9ec0b0b563d0b.zip
that should take care of the bitfields in hubloc
Diffstat (limited to 'include/hubloc.php')
-rw-r--r--include/hubloc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hubloc.php b/include/hubloc.php
index 92736e090..cde166e8d 100644
--- a/include/hubloc.php
+++ b/include/hubloc.php
@@ -120,7 +120,7 @@ function hubloc_change_primary($hubloc) {
logger('no hubloc');
return false;
}
- if(! ($hubloc['hubloc_flags'] & HUBLOC_FLAGS_PRIMARY)) {
+ if(! (intval($hubloc['hubloc_primary']))) {
logger('not primary: ' . $hubloc['hubloc_url']);
return false;
}