Avoid warning with wrong table name
This commit is contained in:
parent
ee229ef618
commit
010b3e9307
|
@ -14,6 +14,9 @@ if ($TABLE != "") {
|
||||||
$orig_fields = fields($TABLE);
|
$orig_fields = fields($TABLE);
|
||||||
$orig_status = table_status($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 && !$error && !$_POST["add"] && !$_POST["drop_col"] && !$_POST["up"] && !$_POST["down"]) {
|
||||||
if ($_POST["drop"]) {
|
if ($_POST["drop"]) {
|
||||||
|
|
Loading…
Reference in a new issue