diff options
author | friendica <info@friendica.com> | 2012-10-10 17:58:56 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-10-10 17:58:56 -0700 |
commit | 794c92a8fb789f604c869e9adabf5aae24cd90d6 (patch) | |
tree | a9a905f2729ef70d19e62bea2b2849a05230670b /mod/display.php | |
parent | 602960460a6206f20ec9cb69b3f5214391b8ddc4 (diff) | |
download | volse-hubzilla-794c92a8fb789f604c869e9adabf5aae24cd90d6.tar.gz volse-hubzilla-794c92a8fb789f604c869e9adabf5aae24cd90d6.tar.bz2 volse-hubzilla-794c92a8fb789f604c869e9adabf5aae24cd90d6.zip |
wall posts now display - address book structure revamp started
Diffstat (limited to 'mod/display.php')
-rw-r--r-- | mod/display.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/mod/display.php b/mod/display.php index 8193ce377..80813e69e 100644 --- a/mod/display.php +++ b/mod/display.php @@ -97,11 +97,7 @@ function display_content(&$a) { $sql_extra = item_permissions_sql($a->profile['uid'],$remote_contact,$groups); - $r = q("SELECT `item`.*, `item`.`id` AS `item_id`, - `contact`.`name`, `contact`.`photo`, `contact`.`url`, `contact`.`rel`, - `contact`.`network`, `contact`.`thumb`, `contact`.`self`, `contact`.`writable`, - `contact`.`id` AS `cid`, `contact`.`uid` AS `contact-uid` - FROM `item` LEFT JOIN `contact` ON `contact`.`id` = `item`.`contact-id` + $r = q("SELECT `item`.*, `item`.`id` AS `item_id` FROM `item` WHERE `item`.`uid` = %d AND `item`.`visible` = 1 AND `item`.`deleted` = 0 and `item`.`moderated` = 0 AND `contact`.`blocked` = 0 AND `contact`.`pending` = 0 |