[Vtigercrm-commits] [vtiger-commits] r9667 - /vtigercrm/branches/5.0.2/modules/Emails/mailsend.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu Oct 19 11:44:33 EDT 2006


Author: richie
Date: Thu Oct 19 09:44:28 2006
New Revision: 9667

Log:
email content html breakage fixed. Fixes #2290 and #2208

Modified:
    vtigercrm/branches/5.0.2/modules/Emails/mailsend.php

Modified: vtigercrm/branches/5.0.2/modules/Emails/mailsend.php
==============================================================================
--- vtigercrm/branches/5.0.2/modules/Emails/mailsend.php (original)
+++ vtigercrm/branches/5.0.2/modules/Emails/mailsend.php Thu Oct 19 09:44:28 2006
@@ -143,6 +143,9 @@
 			$fldname=$adb->query_result($fresult,0,"columnname");
 			$emailadd=br2nl($myfocus->column_fields[$fldname]);
 
+//This is to convert the html encoded string to original html entities so that in mail description contents will be displayed correctly
+	$focus->column_fields['description'] = from_html($focus->column_fields['description']);
+
 			if($emailadd != '')
 			{
 				$description = getMergedDescription($focus->column_fields['description'],$mycrmid,$pmodule);





More information about the vtigercrm-commits mailing list