Remove extra line break processing, now handled by parent class

This commit is contained in:
Nathan Gray 2016-03-21 19:24:46 +00:00
parent d3f38b5bc6
commit cfbec7adec

View File

@ -110,16 +110,6 @@ class infolog_merge extends bo_merge
$array['info_contact'] = $array['info_link']['title'];
}
// Make sure line breaks get preserved (Needed for emails in particular)
switch($this->mimetype)
{
case 'application/vnd.oasis.opendocument.text': // open office
case 'application/vnd.oasis.opendocument.spreadsheet':
case 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': // ms office 2007
case 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet':
$record->info_des = nl2br($record->info_des);
}
// Set any missing custom fields, or the marker will stay
$array = $record->get_record_array();
foreach($this->bo->customfields as $name => $field)