Index: branches/5.2.x/core/units/helpers/email_message_helper.php =================================================================== diff -u -N -r14244 -r14628 --- branches/5.2.x/core/units/helpers/email_message_helper.php (.../email_message_helper.php) (revision 14244) +++ branches/5.2.x/core/units/helpers/email_message_helper.php (.../email_message_helper.php) (revision 14628) @@ -10,6 +10,7 @@ */ function parseTemplate($text) { + $line_id = 1; $ret = Array ('Subject' => '', 'Headers' => '', 'Body' => ''); $headers = Array(); $lines = explode("\n", $text); // "\n" is lost in process