mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
see #642 - do the same pagination restoration stuff in editactive.php
This commit is contained in:
parent
e923fc5940
commit
80567e6920
@ -58,6 +58,14 @@ if ($handler->init($id)) { # errors will be displayed as last step anyway, no ne
|
|||||||
flash_error($handler->errormsg);
|
flash_error($handler->errormsg);
|
||||||
flash_info($handler->infomsg);
|
flash_info($handler->infomsg);
|
||||||
|
|
||||||
|
if ($formconf['listview'] == 'list-virtual.php') {
|
||||||
|
$bits = [];
|
||||||
|
$bits['domain'] = $_SESSION['list-virtual:domain'] ?? null;
|
||||||
|
$bits['limit'] = $_SESSION['list-virtual:limit'] ?? null;
|
||||||
|
header("Location: " . $formconf['listview'] . '?' . http_build_query(array_filter($bits)));
|
||||||
|
exit(0);
|
||||||
|
}
|
||||||
|
|
||||||
header("Location: " . $formconf['listview']);
|
header("Location: " . $formconf['listview']);
|
||||||
exit;
|
exit;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user