for now punt if have no poi, but we should get it from the server
This commit is contained in:
parent
6067274b51
commit
4362aa4c26
@ -55,7 +55,7 @@ function prep_content(&$a) {
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
$r = q("select * from xlink left join xchan on xlink_xchan = xchan_hash where xlink_link like '%s' and xlink_rating != 0 and xlink_static = 1",
|
$r = q("select * from xlink left join xchan on xlink_xchan = xchan_hash where xlink_link like '%s' and xlink_rating != 0 and xlink_static = 1",
|
||||||
dbesc($a->poi['xchan_hash'])
|
dbesc(($a->poi) ? $a->poi['xchan_hash'] : argv(1))
|
||||||
);
|
);
|
||||||
|
|
||||||
if(! $r)
|
if(! $r)
|
||||||
|
Reference in New Issue
Block a user