X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fstarred.php;h=5e00cd9ccbfeaec862085345423aa2eccaf5705a;hb=e609de295742fa1de70279206d6bea91900350ba;hp=b0cb5bd1d6de0ec0d48bd78be104906193444292;hpb=3c24bed412235cf8c7a3f16b46fed18004abf87b;p=friendica.git diff --git a/mod/starred.php b/mod/starred.php index b0cb5bd1d6..5e00cd9ccb 100644 --- a/mod/starred.php +++ b/mod/starred.php @@ -1,12 +1,13 @@ $starred], ['id' => $message_id]); // See if we've been passed a return path to redirect to $return_path = ((x($_REQUEST,'return')) ? $_REQUEST['return'] : ''); @@ -49,7 +44,7 @@ function starred_init(App $a) { $rand = "?$rand"; } - goaway(App::get_baseurl() . "/" . $return_path . $rand); + goaway(System::baseUrl() . "/" . $return_path . $rand); } // the json doesn't really matter, it will either be 0 or 1