mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 15:47:00 +02:00
Avoid warning with wrong table name
This commit is contained in:
@@ -14,6 +14,9 @@ if ($TABLE != "") {
|
||||
$orig_fields = fields($TABLE);
|
||||
$orig_status = table_status($TABLE);
|
||||
}
|
||||
if ($_POST && !$_POST["fields"]) {
|
||||
$_POST["fields"] = array();
|
||||
}
|
||||
|
||||
if ($_POST && !$error && !$_POST["add"] && !$_POST["drop_col"] && !$_POST["up"] && !$_POST["down"]) {
|
||||
if ($_POST["drop"]) {
|
||||
|
Reference in New Issue
Block a user