X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FPinned.php;h=97364ceffbc147b9bfecb54f7ff3665346591ff4;hb=6778d4f7ce62877f46b964d2a6abc17e8faa47bd;hp=1bd25f2722caf59a093b8c3d92551405aeb44aeb;hpb=1de3f186d79f3703850524c1d58c237be3eb25f3;p=friendica.git diff --git a/src/Module/Pinned.php b/src/Module/Pinned.php index 1bd25f2722..97364ceffb 100644 --- a/src/Module/Pinned.php +++ b/src/Module/Pinned.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; @@ -31,7 +50,7 @@ class Pinned extends BaseModule $returnPath = $_REQUEST['return'] ?? ''; if (!empty($returnPath)) { $rand = '_=' . time() . (strpos($returnPath, '?') ? '&' : '?') . 'rand'; - DI::app()->internalRedirect($returnPath . $rand); + DI::baseUrl()->redirect($returnPath . $rand); } // the json doesn't really matter, it will either be 0 or 1