aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorzottel <github@zottel.net>2016-07-27 09:31:20 +0200
committerzottel <github@zottel.net>2016-07-27 09:31:20 +0200
commite5a3179468c84ab78ffa655353bc068508e8cdfd (patch)
tree24d27705ad197ea1769f906404d6e14071f5599d /Zotlabs/Module
parent11b97af250d8c5db015a736e9349f29efb6662d7 (diff)
parent672c3d7c6df2bf4667546c4376318d8684568014 (diff)
downloadvolse-hubzilla-e5a3179468c84ab78ffa655353bc068508e8cdfd.tar.gz
volse-hubzilla-e5a3179468c84ab78ffa655353bc068508e8cdfd.tar.bz2
volse-hubzilla-e5a3179468c84ab78ffa655353bc068508e8cdfd.zip
Merge remote-tracking branch 'upstream/dev' into dev
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Ratingsearch.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Module/Ratingsearch.php b/Zotlabs/Module/Ratingsearch.php
index 5f463b378..b595e16b1 100644
--- a/Zotlabs/Module/Ratingsearch.php
+++ b/Zotlabs/Module/Ratingsearch.php
@@ -58,7 +58,8 @@ class Ratingsearch extends \Zotlabs\Web\Controller {
$ret['success'] = true;
$r = q("select * from xlink left join xchan on xlink_xchan = xchan_hash
- where xlink_link = '%s' and xlink_rating != 0 and xlink_static = 1 order by xchan_name asc",
+ where xlink_link = '%s' and xlink_rating != 0 and xlink_static = 1 and xchan_orphan = 0 and xchan_deleted = 0
+ order by xchan_name asc",
dbesc($target)
);