X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fstarred.php;h=5e00cd9ccbfeaec862085345423aa2eccaf5705a;hb=e609de295742fa1de70279206d6bea91900350ba;hp=84baa82ceacf4bbc4a0595022727b603e4c0634a;hpb=8b7d5d0efc3e28b2f7a5407f6583c8232739aa71;p=friendica.git diff --git a/mod/starred.php b/mod/starred.php index 84baa82cea..5e00cd9ccb 100644 --- a/mod/starred.php +++ b/mod/starred.php @@ -1,10 +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'] : ''); @@ -47,7 +44,7 @@ function starred_init(&$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