From 3ab845dcf339201e0fbb982badb976bb2f7db757 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 1 Mar 2017 21:47:10 +0000 Subject: [PATCH] Issue 3196: Not all forum posts weren't shown --- mod/profile.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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']) ); } -- 2.39.5