mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
Redirect to listview after editing
This commit is contained in:
1 parent
6b1be117f0
commit
029d749fb8
1 file changed
+2
-7
+2
-7
@@ -184,13 +184,8 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") {
|
||||
}
|
||||
}
|
||||
|
||||
if ($new == 0) {
|
||||
header("Location: " . $formconf['listview']);
|
||||
exit;
|
||||
} else {
|
||||
header("Location: edit.php?table=$table");
|
||||
exit;
|
||||
}
|
||||
header("Location: " . $formconf['listview']);
|
||||
exit;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user