diff --git a/importexport/inc/class.importexport_import_ui.inc.php b/importexport/inc/class.importexport_import_ui.inc.php index 701bb9612d..581e8f15e0 100644 --- a/importexport/inc/class.importexport_import_ui.inc.php +++ b/importexport/inc/class.importexport_import_ui.inc.php @@ -316,6 +316,10 @@ $preview = html::table($rows); rewind($stream); } + else + { + $preview = lang('Preview not supported by %1', $plugin->get_name()); + } if(count($plugin->get_warnings())) { $this->message .= "
\n".lang('Warnings').':'; foreach($plugin->get_warnings() as $record => $message) {