aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-03 11:18:00 -0800
committerfriendica <info@friendica.com>2015-02-03 11:18:00 -0800
commit4362aa4c26f4a5931cacacb182a750c2273f7d59 (patch)
treee0a91397d7ab4239f7c211628dd04a7e6f4d9fa4 /mod
parent6067274b51cfec0d14ad4a68675d07a2e6a39387 (diff)
downloadvolse-hubzilla-4362aa4c26f4a5931cacacb182a750c2273f7d59.tar.gz
volse-hubzilla-4362aa4c26f4a5931cacacb182a750c2273f7d59.tar.bz2
volse-hubzilla-4362aa4c26f4a5931cacacb182a750c2273f7d59.zip
for now punt if have no poi, but we should get it from the server
Diffstat (limited to 'mod')
-rw-r--r--mod/prep.php2
1 files changed, 1 insertions, 1 deletions
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)