From ee3eee425c92b37fba5a7035d8e9ec0b0b563d0b Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 20 Jan 2015 16:13:18 -0800 Subject: that should take care of the bitfields in hubloc --- include/hubloc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/hubloc.php') 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; } -- cgit v1.2.3