implement tip from Mike, corrected the sql statement
This commit is contained in:
parent
82f4b1767e
commit
2c06a2c163
@ -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]
|
||||
);
|
||||
|
Reference in New Issue
Block a user