]> git.mxchange.org Git - friendica.git/blobdiff - mod/network.php
double name
[friendica.git] / mod / network.php
index 433d4079c1094475b37c591e80b6f0d9cdb9e334..16fde6c351970c0bdad12e468362f2afdc8e2367 100644 (file)
@@ -709,7 +709,7 @@ function networkThreadedView(App $a, $update, $parent)
                        }
                        if ($order === 'post') {
                                // Only show toplevel posts when updating posts in this order mode
-                               $sql_extra4 .= " AND `item`.`id` = `item`.`parent`";
+                               $sql_extra4 .= " AND `item`.`gravity` = " . GRAVITY_PARENT;
                        }
                }