X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fstarred.php;h=ce0c8fc09c658652234aac744d325cfe1edb6d3b;hb=1ab965c9440a32ab241c9f5e06bea1f7ebb202fd;hp=c23b07b8b595b22757b0fd1a0c7f31f4eed5ac3c;hpb=479180ca8ea9fb02c8e90b0017d2f584aa199043;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