[Vtigercrm-commits] [vtiger development] #4638: Loss of Email Template Formatting

vtiger development vtiger-tickets at trac.vtiger.com
Wed Dec 5 00:48:17 EST 2007


#4638: Loss of Email Template Formatting
------------------------+---------------------------------------------------
  Reporter:  prasad     |       Owner:  developer
      Type:  defect     |      Status:  new      
  Priority:  critical   |   Milestone:           
 Component:  vtigercrm  |     Version:  5.0.4    
Resolution:             |    Keywords:           
------------------------+---------------------------------------------------
Comment (by prasad):

 modules/Users/DefaultDataPopulator.php
 Use nl2br($body) – where $body is the content of non-html email template

 modules/Settings/detailviewemailtemplate.php
 Instead of:
 {{{$smarty->assign("BODY",
 nl2br(decode_html($emailtemplateResult["body"])));}}}
 Use the following:
 {{{$smarty->assign("BODY", decode_html($emailtemplateResult["body"]));}}}

-- 
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4638#comment:1>
vtiger development <http://trac.vtiger.com/>
vtigerCRM




More information about the vtigercrm-commits mailing list