]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Bookmarklet.php
Merge pull request #13800 from annando/channel-languages
[friendica.git] / src / Module / Bookmarklet.php
index d915fbf69edc758640cec79316c8a852075865f1..ebcd150be1db1fc025522cd0f36c1d518c098184 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2023, the Friendica project
+ * @copyright Copyright (C) 2010-2024, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -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"])) {