forked from extern/egroupware
Mail - avoid blank line at the top when loading drafts
This commit is contained in:
parent
bfc2728ad3
commit
1bd5987a22
@ -1188,9 +1188,9 @@ class mail_compose
|
||||
}
|
||||
}
|
||||
// Skip this part if we're merging, it would add an extra line at the top
|
||||
else if ($actionToProcess != 'merge')
|
||||
else if (!$content['body'])
|
||||
{
|
||||
$content['body'] = ($font_span?($isFirstLoad === "switchedplaintohtml"?$font_part:$font_span):/*($content['mimeType'] == 'html'?' ':'')*/'').$content['body'].($isFirstLoad === "switchedplaintohtml"?"</span>":"");
|
||||
$content['body'] = ($font_span?($isFirstLoad === "switchedplaintohtml"?$font_part:$font_span):'').($isFirstLoad === "switchedplaintohtml"?"</span>":"");
|
||||
}
|
||||
//error_log(__METHOD__.__LINE__.$content['body']);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user