]> git.mxchange.org Git - friendica.git/blobdiff - mod/network.php
New item field "Post-type" and new table "permissionset" (#5408)
[friendica.git] / mod / network.php
index b2f6b7ba88c4e57565af039c3822dd9a02326c4d..67dd651e225e521b1a5849f19d41a384d956b50e 100644 (file)
@@ -589,8 +589,8 @@ function networkThreadedView(App $a, $update, $parent)
        // desired.
 
        $sql_post_table = '';
-       $sql_options = (($star) ? " AND `thread`.`starred` " : '');
-       $sql_options .= (($bmark) ? " AND `thread`.`bookmark` " : '');
+       $sql_options = ($star ? " AND `thread`.`starred` " : '');
+       $sql_options .= ($bmark ? sprintf(" AND `thread`.`post-type` = %d ", Item::PT_PAGE) : '');
        $sql_extra = $sql_options;
        $sql_extra2 = '';
        $sql_extra3 = '';