X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fstarred.php;h=ce0c8fc09c658652234aac744d325cfe1edb6d3b;hb=ab5669e09190d05be8bfa62f2b82846631c2409d;hp=c23b07b8b595b22757b0fd1a0c7f31f4eed5ac3c;hpb=c0df692f5fc4eaadb322614069b2c7ed40453fa1;p=friendica.git diff --git a/mod/starred.php b/mod/starred.php index c23b07b8b5..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(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