diff --git a/importexport/inc/class.importexport_import_ui.inc.php b/importexport/inc/class.importexport_import_ui.inc.php index fcd91d96ce..04cfa70f80 100644 --- a/importexport/inc/class.importexport_import_ui.inc.php +++ b/importexport/inc/class.importexport_import_ui.inc.php @@ -119,7 +119,7 @@ $this->message .= lang('%1 records processed', $count); // Refresh opening window - if(!$content['dry-run']) $GLOBALS['egw']->js->set_onload("window.opener.egw_refresh('{$this->message}','$appname');"); + if(!$content['dry-run']) $GLOBALS['egw']->js->set_onload("window.opener.egw_refresh('".preg_replace('/\n+/','',strip_tags($this->message))."','$appname');"); $total_processed = 0; foreach($plugin->get_results() as $action => $a_count) { $this->message .= "
\n" . lang($action) . ": $a_count";