From ea314b81035bc6e4631382e6c55a656389010108 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 c613e747..68ff140e 100644 --- a/adminer/include/functions.inc.php +++ b/adminer/include/functions.inc.php @@ -1485,6 +1485,7 @@ function edit_form($table, $fields, $row, $update) { $adminer->editRowPrint($table, $fields, $row, $update); if ($row === false) { echo "

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