]> git.mxchange.org Git - friendica.git/blobdiff - mod/follow.php
Merge pull request #205 from unary/filerfix
[friendica.git] / mod / follow.php
index f8964885e187050b34f4a59cf9477eaea20ea238..ae8cb200c74f68f1d70f1a1440e20038f2f8e50d 100755 (executable)
@@ -49,6 +49,11 @@ function follow_init(&$a) {
                        goaway($_SESSION['return_url']);
                }
        }
+       
+       // This just confuses things, remove it
+       if($ret['network'] === NETWORK_DIASPORA)
+               $ret['url'] = str_replace('?absolute=true','',$ret['url']);
+
 
        // do we have enough information?