mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 01:24:17 +02:00
Property num_rows can be empty
This commit is contained in:
@@ -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";
|
||||
|
Reference in New Issue
Block a user