]> git.mxchange.org Git - friendica.git/blobdiff - mod/redir.php
Move mod/follow to src/Modules
[friendica.git] / mod / redir.php
index cc4dc1c0c1549bc49a80c8d9e8fa5677b777a193..903c6b2a354f074b7f5de0caa039c167b14f2e22 100644 (file)
@@ -82,7 +82,7 @@ function redir_init(App $a) {
                }
        }
 
-       if (DI::userSession()->getRemoteUserId) {
+       if (DI::userSession()->getRemoteUserId()) {
                $host = substr(DI::baseUrl()->getUrlPath() . (DI::baseUrl()->getUrlPath() ? '/' . DI::baseUrl()->getUrlPath() : ''), strpos(DI::baseUrl()->getUrlPath(), '://') + 3);
                $remotehost = substr($contact['addr'], strpos($contact['addr'], '@') + 1);