From 4362aa4c26f4a5931cacacb182a750c2273f7d59 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 3 Feb 2015 11:18:00 -0800 Subject: for now punt if have no poi, but we should get it from the server --- mod/prep.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod') diff --git a/mod/prep.php b/mod/prep.php index 9d21b0409..950b602c9 100644 --- a/mod/prep.php +++ b/mod/prep.php @@ -55,7 +55,7 @@ function prep_content(&$a) { 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", - dbesc($a->poi['xchan_hash']) + dbesc(($a->poi) ? $a->poi['xchan_hash'] : argv(1)) ); if(! $r) -- cgit v1.2.3