mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +01:00
Remove extra line break processing, now handled by parent class
This commit is contained in:
parent
d3f38b5bc6
commit
cfbec7adec
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user