]> git.mxchange.org Git - friendica.git/blobdiff - mod/network.php
Changing the tag system to the "term" table.
[friendica.git] / mod / network.php
index ecef7c1dfbb85c60a78d799d8f27534d41167343..4a8b54762c6601ee5ff8124909299d953701471f 100644 (file)
@@ -689,7 +689,9 @@ function network_content(&$a, $update = 0) {
                                dbesc(protect_sprintf('%' . $diasp_url . ']%'))
                        );*/
 
-               $sql_extra .= sprintf(" AND `item`.`parent` IN (SELECT distinct(`parent`) from item where `author-link` IN ('https://%s', 'http://%s') OR `mention`)",
+               //$sql_extra .= sprintf(" AND `item`.`parent` IN (SELECT distinct(`parent`) from item where `author-link` IN ('https://%s', 'http://%s') OR `mention`)",
+               //$sql_extra .= sprintf(" AND `item`.`parent` IN (SELECT distinct(`parent`) from item where `mention`)",
+               $sql_extra .= sprintf(" AND `item`.`parent` IN (SELECT distinct(`parent`) from item where `author-link` IN ('https://%s', 'http://%s'))",
                        dbesc(protect_sprintf($myurl)),
                        dbesc(protect_sprintf($myurl))
                );