]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Starred.php
Added type hints
[friendica.git] / src / Module / Starred.php
index d6ec19ea732dcaebc93e680d22e1d2e0995748be..0f111b21e0198f51185aef8b650044d37837bd0d 100644 (file)
@@ -36,7 +36,7 @@ class Starred 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