aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-19 14:19:40 -0800
committerFriendika <info@friendika.com>2011-01-19 14:19:40 -0800
commite7c5f9e7de033098d9dcf58bb1cffda934dbd2c3 (patch)
treeff8eeae5e53e1a3a7fbc4a39352149d93a861e47 /mod
parentab72d86aa7f35157a278d9fc570504db41fb5f09 (diff)
downloadvolse-hubzilla-e7c5f9e7de033098d9dcf58bb1cffda934dbd2c3.tar.gz
volse-hubzilla-e7c5f9e7de033098d9dcf58bb1cffda934dbd2c3.tar.bz2
volse-hubzilla-e7c5f9e7de033098d9dcf58bb1cffda934dbd2c3.zip
undo sql change in f9f018ef083acb554003 (02-DEC-2010), not relevant and incorrect
Diffstat (limited to 'mod')
-rw-r--r--mod/display.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/display.php b/mod/display.php
index cad60d275..0e5768838 100644
--- a/mod/display.php
+++ b/mod/display.php
@@ -93,7 +93,7 @@ function display_content(&$a) {
FROM `item` LEFT JOIN `contact` ON `contact`.`id` = `item`.`contact-id`
WHERE `item`.`uid` = %d AND `item`.`visible` = 1 AND `item`.`deleted` = 0
AND `contact`.`blocked` = 0 AND `contact`.`pending` = 0
- AND `item`.`parent` = ( SELECT `parent` FROM `item` WHERE ( `id` = '%s' OR `uri` = '%s' ) AND `type` != 'remote' )
+ AND `item`.`parent` = ( SELECT `parent` FROM `item` WHERE ( `id` = '%s' OR `uri` = '%s' ))
$sql_extra
ORDER BY `parent` DESC, `gravity` ASC, `id` ASC ",
intval($a->profile['uid']),