Property num_rows can be empty
This commit is contained in:
parent
62284e64cc
commit
dba6a90674
|
@ -392,7 +392,7 @@ if (!$columns) {
|
|||
echo " <input type='submit' name='export' value='" . lang('Export') . "'>\n";
|
||||
echo "</div></fieldset>\n";
|
||||
}
|
||||
print_fieldset("import", lang('CSV Import'), !$result->num_rows);
|
||||
print_fieldset("import", lang('CSV Import'), !$rows);
|
||||
echo "<input type='hidden' name='token' value='$token'><input type='file' name='csv_file'> ";
|
||||
echo html_select("separator", array("csv" => "CSV,", "csv;" => "CSV;"), $adminer_export["format"], 1); // 1 - select
|
||||
echo " <input type='submit' name='import' value='" . lang('Import') . "'>\n";
|
||||
|
|
Loading…
Reference in a new issue