X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fstarred.php;h=ce0c8fc09c658652234aac744d325cfe1edb6d3b;hb=d071a5cdad76f657fe0527b45717068b53b14bae;hp=84baa82ceacf4bbc4a0595022727b603e4c0634a;hpb=ca734f168caaa3a9fb66fd7ada6ecc26e1299ae6;p=friendica.git diff --git a/mod/starred.php b/mod/starred.php index 84baa82cea..ce0c8fc09c 100644 --- a/mod/starred.php +++ b/mod/starred.php @@ -1,11 +1,15 @@ $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 +45,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