1
0
Fork 0

calculate form return_url for post and message instead of using SESSION var

This commit is contained in:
Jonny Tischbein 2018-09-19 23:55:29 +02:00
commit 807ad14521
3 changed files with 9 additions and 3 deletions

View file

@ -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);
}
}