From: Michael Date: Wed, 1 Mar 2017 21:47:10 +0000 (+0000) Subject: Issue 3196: Not all forum posts weren't shown X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3ab845dcf339201e0fbb982badb976bb2f7db757;p=friendica.git Issue 3196: Not all forum posts weren't shown --- diff --git a/mod/profile.php b/mod/profile.php index 5dd8293c7f..88d8683b8d 100644 --- a/mod/profile.php +++ b/mod/profile.php @@ -282,14 +282,12 @@ function profile_content(App $a, $update = 0) { STRAIGHT_JOIN `contact` ON `contact`.`id` = `thread`.`contact-id` AND NOT `contact`.`blocked` AND NOT `contact`.`pending` WHERE `thread`.`uid` = %d AND `thread`.`visible` - AND `thread`.`contact-id` = %d AND NOT `thread`.`deleted` AND NOT `thread`.`moderated` AND `thread`.`wall` $sql_extra $sql_extra2 ORDER BY `thread`.`created` DESC $pager_sql", - intval($a->profile['profile_uid']), - intval($a->profile['contact_id']) + intval($a->profile['profile_uid']) ); }