mirror of
https://github.com/vrana/adminer.git
synced 2025-08-10 16:44:17 +02:00
Display error with non-existent row
This commit is contained in:
@@ -62,6 +62,10 @@ if ($_POST["save"]) {
|
|||||||
$row = (isset($_GET["select"]) && count($rows) != 1 ? null : reset($rows));
|
$row = (isset($_GET["select"]) && count($rows) != 1 ? null : reset($rows));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($row === false) {
|
||||||
|
echo "<p class='error'>" . lang('No rows.') . "\n";
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<form action="" method="post" enctype="multipart/form-data" id="form">
|
<form action="" method="post" enctype="multipart/form-data" id="form">
|
||||||
|
Reference in New Issue
Block a user