mirror of
https://github.com/vrana/adminer.git
synced 2025-08-09 16:17:48 +02:00
Hide invalid edit form if table record is not found
This commit is contained in:
@@ -1449,6 +1449,7 @@ function edit_form($table, $fields, $row, $update) {
|
||||
$adminer->editRowPrint($table, $fields, $row, $update);
|
||||
if ($row === false) {
|
||||
echo "<p class='error'>" . lang('No rows.') . "\n";
|
||||
return;
|
||||
}
|
||||
?>
|
||||
<form action="" method="post" enctype="multipart/form-data" id="form">
|
||||
|
Reference in New Issue
Block a user