diff --git a/htdocs/imports/import.php b/htdocs/imports/import.php
index 5139e12ab7a..12b0b50c5f4 100644
--- a/htdocs/imports/import.php
+++ b/htdocs/imports/import.php
@@ -706,12 +706,12 @@ if ($step == 3 && $datatoimport) {
print $out;
print '';
- print '
'; // You can use div-table-responsive-no-min if you dont need reserved height for your table
- print '
';
-
// Search available imports
$filearray = dol_dir_list($conf->import->dir_temp, 'files', 0, '', '', 'name', SORT_DESC);
if (count($filearray) > 0) {
+ print ''; // You can use div-table-responsive-no-min if you dont need reserved height for your table
+ print '
';
+
$dir = $conf->import->dir_temp;
// Search available files to import
@@ -752,10 +752,10 @@ if ($step == 3 && $datatoimport) {
print '';
print '';
}
- }
- print '
';
- print '
';
+ print '
';
+ print '
';
+ }
print '';
}