mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-02 03:19:56 +01:00
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
|
// 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']);
|
//error_log(__METHOD__.__LINE__.$content['body']);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user