calculate form return_url for post and message instead of using SESSION var
This commit is contained in:
parent
68c6895e1a
commit
807ad14521
3 changed files with 9 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue