diff options
author | Friendika <info@friendika.com> | 2011-01-19 14:19:40 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-01-19 14:19:40 -0800 |
commit | e7c5f9e7de033098d9dcf58bb1cffda934dbd2c3 (patch) | |
tree | ff8eeae5e53e1a3a7fbc4a39352149d93a861e47 /mod/display.php | |
parent | ab72d86aa7f35157a278d9fc570504db41fb5f09 (diff) | |
download | volse-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/display.php')
-rw-r--r-- | mod/display.php | 2 |
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']), |