calculate form return_url for post and message instead of using SESSION var
This commit is contained in:
@@ -92,7 +92,7 @@ function message_post(App $a)
|
||||
$a->argc = 2;
|
||||
$a->argv[1] = 'new';
|
||||
} else {
|
||||
goaway($_SESSION['return_url']);
|
||||
goaway(System::baseUrl() . '/' . $a->cmd . '/' . $ret);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user