aboutsummaryrefslogtreecommitdiffstats
path: root/mod/prep.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/prep.php')
-rw-r--r--mod/prep.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/prep.php b/mod/prep.php
index 896717826..9d21b0409 100644
--- a/mod/prep.php
+++ b/mod/prep.php
@@ -54,7 +54,7 @@ function prep_content(&$a) {
if(! $a->poi)
return;
- $r = q("select * from xlink left join xchan on xlink_xchan = xchan_hash where xlink_link like '%s' and xlink_rating != 0",
+ $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'])
);