fix the xchan lookup tool
This commit is contained in:
parent
1b406be544
commit
cb6716a644
@ -14,9 +14,11 @@ function xchan_content(&$a) {
|
||||
|
||||
if(x($_GET,'addr')) {
|
||||
$addr = trim($_GET['addr']);
|
||||
|
||||
$r = q("select xchan_name from xchan where xchan_hash like '%s%%'",
|
||||
dbesc(addr)
|
||||
dbesc($addr)
|
||||
);
|
||||
|
||||
if($r) {
|
||||
foreach($r as $rr)
|
||||
$o .= $rr['xchan_name'] . EOL;
|
||||
|
Reference in New Issue
Block a user