sign the ratings, fix the bugs

This commit is contained in:
friendica
2015-02-02 17:58:51 -08:00
parent 03bb236651
commit fa710106e5
3 changed files with 15 additions and 6 deletions

View File

@@ -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'])
);