diff --git a/modules/Import/sources/ImportDataSource.php b/modules/Import/sources/ImportDataSource.php
index 59b7c679724..f108e892d52 100755
--- a/modules/Import/sources/ImportDataSource.php
+++ b/modules/Import/sources/ImportDataSource.php
@@ -130,7 +130,7 @@ abstract public function getTotalRecordCount();
* @return void
*/
abstract public function getHeaderColumns();
-
+
/**
* Set the source name.
*
@@ -197,7 +197,7 @@ public static function writeRowToLastImport($import_module, $module, $id)
if ($module == 'Case') {
$module = 'aCase';
}
-
+
$last_import->bean_type = $module;
$last_import->bean_id = $id;
return $last_import->save();
@@ -228,9 +228,9 @@ protected function formatErrorMessage($error, $fieldName, $fieldValue)
{
global $current_language;
$mod_strings = return_module_language($current_language, 'Import');
- return "{$mod_strings['LBL_ERROR']} $error
".
- "{$mod_strings['LBL_FIELD_NAME']} $fieldName
" .
- "{$mod_strings['LBL_VALUE']} $fieldValue
";
+ return "{$mod_strings['LBL_ERROR']}: $error. ".
+ "- {$mod_strings['LBL_FIELD_NAME']}: $fieldName. " .
+ "- {$mod_strings['LBL_VALUE']}: $fieldValue";
}
public function resetRowErrorCounter()
{
@@ -330,7 +330,7 @@ public function writeErrorRecord($errorMessage = '')
//Add the error message to the first column
array_unshift($rowData, $errorMessage);
fputcsv($fp, $rowData);
-
+
fclose($fp);
fclose($fpNoErrors);
}