]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Bookmarklet.php
Apply suggestions from code review
[friendica.git] / src / Module / Bookmarklet.php
index d915fbf69edc758640cec79316c8a852075865f1..959ed71a8debf2c4cc6b20f0e55069a9043a3381 100644 (file)
@@ -47,7 +47,7 @@ class Bookmarklet extends BaseModule
                }
 
                $referer = Strings::normaliseLink($_SERVER['HTTP_REFERER'] ?? '');
-               $page = Strings::normaliseLink(DI::baseUrl()->get() . "/bookmarklet");
+               $page = Strings::normaliseLink(DI::baseUrl() . "/bookmarklet");
 
                if (!strstr($referer, $page)) {
                        if (empty($_REQUEST["url"])) {