From 8e43fffe530d79dfda7cedcef9d5dd08e7fd6c28 Mon Sep 17 00:00:00 2001 From: Peter Knut Date: Wed, 2 Oct 2024 09:35:44 +0200 Subject: [PATCH] Hide invalid edit form if table record is not found --- adminer/include/functions.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/adminer/include/functions.inc.php b/adminer/include/functions.inc.php index d66ced5d..f637fdd4 100644 --- a/adminer/include/functions.inc.php +++ b/adminer/include/functions.inc.php @@ -1449,6 +1449,7 @@ function edit_form($table, $fields, $row, $update) { $adminer->editRowPrint($table, $fields, $row, $update); if ($row === false) { echo "

" . lang('No rows.') . "\n"; + return; } ?>