0
0
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:
David Goodwin 2022-07-30 21:23:57 +01:00
parent e923fc5940
commit 80567e6920

View File

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