fix return fallback to SESSION Variable

This commit is contained in:
Jonny Tischbein 2018-09-20 15:55:24 +02:00
parent 58f26d195f
commit 0f63a62761

View file

@ -30,7 +30,7 @@ function editpost_content(App $a)
// Fallback to SESSION return_path
if (empty($return_url)) {
$return_url = $_SESSION['return_path'];
$return_url = $_SESSION['return_url'];
}
$fields = ['allow_cid', 'allow_gid', 'deny_cid', 'deny_gid',