1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 07:36:44 +02:00

Fix PHP 8 warning

This commit is contained in:
Jakub Vrana
2021-02-08 10:33:45 +01:00
parent 7ccc1e3e15
commit 28209301ca
2 changed files with 2 additions and 1 deletions

View File

@@ -54,7 +54,7 @@ if ($_POST && !process_fields($row["fields"]) && !$error) {
}
$process_field = process_field($field, $type_field);
$all_fields[] = array($field["orig"], $process_field, $after);
if ($process_field != process_field($orig_field, $orig_field)) {
if (!$orig_field || $process_field != process_field($orig_field, $orig_field)) {
$fields[] = array($field["orig"], $process_field, $after);
if ($field["orig"] != "" || $after) {
$use_all_fields = true;