implement tip from Mike, corrected the sql statement

This commit is contained in:
Michael Meer 2013-09-11 15:24:26 +02:00
parent 82f4b1767e
commit 2c06a2c163

View File

@ -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]
);