X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fstarred.php;h=ce0c8fc09c658652234aac744d325cfe1edb6d3b;hb=1ab965c9440a32ab241c9f5e06bea1f7ebb202fd;hp=e1b38cfc4c9133edf547eeb59303ec81f2b24aec;hpb=20043914e6111ba53df85e1efd3389c99d37302f;p=friendica.git diff --git a/mod/starred.php b/mod/starred.php index e1b38cfc4c..ce0c8fc09c 100644 --- a/mod/starred.php +++ b/mod/starred.php @@ -1,12 +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'] : ''); @@ -48,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