Merge pull request #5775 from JonnyTischbein/form_return_path
mod/editpost fix return fallback to SESSION Variable
This commit is contained in:
commit
be93676894
|
@ -30,7 +30,7 @@ function editpost_content(App $a)
|
||||||
|
|
||||||
// Fallback to SESSION return_path
|
// Fallback to SESSION return_path
|
||||||
if (empty($return_url)) {
|
if (empty($return_url)) {
|
||||||
$return_url = $_SESSION['return_path'];
|
$return_url = $_SESSION['return_url'];
|
||||||
}
|
}
|
||||||
|
|
||||||
$fields = ['allow_cid', 'allow_gid', 'deny_cid', 'deny_gid',
|
$fields = ['allow_cid', 'allow_gid', 'deny_cid', 'deny_gid',
|
||||||
|
|
Loading…
Reference in a new issue