diff options
author | Michael Meer <michael@meer.name> | 2013-09-11 15:24:26 +0200 |
---|---|---|
committer | Michael Meer <michael@meer.name> | 2013-09-11 15:24:26 +0200 |
commit | 2c06a2c16321e8ae80ba04b920b20d378be6325d (patch) | |
tree | 49cd6031b990ca13c0cdf7575813eb4dd6e078a1 /mod/post.php | |
parent | 82f4b1767e5af692b25ca6cff9cec64ed6cb7ec6 (diff) | |
download | volse-hubzilla-2c06a2c16321e8ae80ba04b920b20d378be6325d.tar.gz volse-hubzilla-2c06a2c16321e8ae80ba04b920b20d378be6325d.tar.bz2 volse-hubzilla-2c06a2c16321e8ae80ba04b920b20d378be6325d.zip |
implement tip from Mike, corrected the sql statement
Diffstat (limited to 'mod/post.php')
-rw-r--r-- | mod/post.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/post.php b/mod/post.php index 7510a028f..c4254b10a 100644 --- a/mod/post.php +++ b/mod/post.php @@ -129,7 +129,7 @@ function post_init(&$a) { } else { logger('mod_zot: still not authenticated: ' . $x[0]['xchan_addr']); - q("update hubloc set hubloc_status = ( hubloc_status ^ %d) where hubloc_addr = '%s'", + q("update hubloc set hubloc_status = (hubloc_status | %d ) where hubloc_addr = '%s'", intval(HUBLOC_RECEIVE_ERROR), $x[0][xchan_addr] ); |