]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Bookmarklet.php
Merge pull request #9509 from MrPetovan/task/5616-clear-notifications-display
[friendica.git] / src / Module / Bookmarklet.php
index 9ecce8ade1e9e32bad8facb8ac9c4395014408a7..e5b3ee4adecf9ff63b53f4309b62cd8f7cf25f69 100644 (file)
@@ -22,6 +22,7 @@
 namespace Friendica\Module;
 
 use Friendica\BaseModule;
+use Friendica\Content\PageInfo;
 use Friendica\Core\ACL;
 use Friendica\DI;
 use Friendica\Module\Security\Login;
@@ -55,7 +56,7 @@ class Bookmarklet extends BaseModule
                                throw new HTTPException\BadRequestException(DI::l10n()->t('This page is missing a url parameter.'));
                        }
 
-                       $content = add_page_info($_REQUEST["url"]);
+                       $content = "\n" . PageInfo::getFooterFromUrl($_REQUEST['url']);
 
                        $x = [
                                'is_owner'         => true,