* eMail/Sieve: when editing sieve rules mend double linefeeds returned by IE10 on edit of the vacation-message

This commit is contained in:
Klaus Leithoff 2013-07-10 10:00:15 +00:00
parent de66366b18
commit 9ad58e5f6d

View File

@ -568,6 +568,7 @@
if(isset($_POST["vacationStatus"]))
{
$newVacation['text'] = get_var('vacation_text',array('POST'));
if (strpos($newVacation['text'],"\r\n")===false) $newVacation['text'] = str_replace("\n\n","\r\n",$newVacation['text']);
$newVacation['text'] = $this->botranslation->convert($newVacation['text'],$this->displayCharset,'UTF-8');
$newVacation['days'] = get_var('days',array('POST'));
$newVacation['addresses'] = get_var('vacationAddresses',array('POST'));