aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-03 16:30:35 -0800
committerfriendica <info@friendica.com>2013-01-03 16:30:35 -0800
commit6a42d3708ccf0d9e35a1c9cced28d00946b40c26 (patch)
tree09bc7177fa967012b30fdc9bdbbcd977d2d4746d /include/zot.php
parentacc1dfa7731fd65a6a1607c0fd1b6b5eeb31fe1b (diff)
downloadvolse-hubzilla-6a42d3708ccf0d9e35a1c9cced28d00946b40c26.tar.gz
volse-hubzilla-6a42d3708ccf0d9e35a1c9cced28d00946b40c26.tar.bz2
volse-hubzilla-6a42d3708ccf0d9e35a1c9cced28d00946b40c26.zip
change precedence of bitwise operation
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php
index c4e7459ac..bf5bdd578 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -186,7 +186,7 @@ function zot_refresh($them,$channel = null) {
if($them['hubloc_url'])
$url = $them['hubloc_url'];
else {
- $r = q("select hubloc_url from hubloc where hubloc_hash = '%s' and hubloc_flags & %d limit 1",
+ $r = q("select hubloc_url from hubloc where hubloc_hash = '%s' and ( hubloc_flags & %d ) limit 1",
dbesc($them['xchan_hash']),
intval(HUBLOC_FLAGS_PRIMARY)
);