]> git.mxchange.org Git - friendica.git/blobdiff - mod/network.php
Merge branch 'master' of github.com:annando/friendica
[friendica.git] / mod / network.php
index 6b4fa9a5b3e899852fe3df0e1450d4dd4644f184..a94272a4290fac21307bb6a720ae402db89d3d4e 100644 (file)
@@ -426,7 +426,7 @@ function network_content(&$a, $update = 0) {
        if($conv) {
                $myurl = $a->get_baseurl() . '/profile/'. $a->user['nickname'];
                $myurl = substr($myurl,strpos($myurl,'://')+3);
-               $myurl = str_replace(array('www.','.'),array('','\\.'),$myurl);
+               $myurl = str_replace('www.','',$myurl);
                $diasp_url = str_replace('/profile/','/u/',$myurl);
                if (get_config('system','use_fulltext_engine'))
                        $sql_extra .= sprintf(" AND `item`.`parent` IN (SELECT distinct(`parent`) from item where (MATCH(`author-link`) AGAINST ('".'"%s"'."' in boolean mode) or MATCH(`tag`) AGAINST ('".'"%s"'."' in boolean mode) or MATCH(tag) AGAINST ('".'"%s"'."' in boolean mode))) ",
@@ -443,7 +443,6 @@ function network_content(&$a, $update = 0) {
 
        }
 
-
        if($update) {
 
                // only setup pagination on initial page view