]> git.mxchange.org Git - friendica.git/commitdiff
Issue 3196: Not all forum posts weren't shown
authorMichael <heluecht@pirati.ca>
Wed, 1 Mar 2017 21:47:10 +0000 (21:47 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 1 Mar 2017 21:47:10 +0000 (21:47 +0000)
mod/profile.php

index 5dd8293c7fd0613d083f6b93dfcbb5a5f4df502e..88d8683b8d80f5c9b5717a21f7769bd99ce107b0 100644 (file)
@@ -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'])
                );
        }