1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-13 01:54:00 +02:00

Pass $error as param

This commit is contained in:
Jakub Vrana
2025-03-28 19:03:25 +01:00
parent e219ef9ad1
commit 3cfae4b8f4
3 changed files with 4 additions and 4 deletions

View File

@@ -159,7 +159,7 @@ if ($_POST && !$error) {
queries_redirect(remove_from_uri($_POST["all"] && $_POST["delete"] ? "page" : ""), $message, $result);
if (!$_POST["delete"]) {
$post_fields = (array) $_POST["fields"];
edit_form($TABLE, array_intersect_key($fields, $post_fields), $post_fields, !$_POST["clone"]);
edit_form($TABLE, array_intersect_key($fields, $post_fields), $post_fields, !$_POST["clone"], $error);
page_footer();
exit;
}