[Vtigercrm-commits] [vtiger development] #7127: Calendar module internationalization issue

vtiger development vtiger-tickets at trac.vtiger.com
Thu Aug 18 10:33:20 PDT 2011


#7127: Calendar module internationalization issue
----------------------------+-----------------------------------------------
 Reporter:  niclarcipretti  |       Owner:  developer 
     Type:  defect          |      Status:  new       
 Priority:  minor           |   Milestone:  Unassigned
Component:  vtigercrm       |     Version:  5.2.1     
 Keywords:                  |  
----------------------------+-----------------------------------------------
 In the "DetailView.php" file, from the Calendar module, there's a string
 comparison using the "yes" word:

 if(isset($finaldata['sendnotification']) && $finaldata['sendnotification']
 == 'yes')

 This causes some parts from the Calendar module to crash when using some
 language pack.

 I've managed to solve this using "$mod_strings['LBL_YES'])" instead of
 "yes", worked just fine:

 if(isset($finaldata['sendnotification']) && $finaldata['sendnotification']
 == $mod_strings['LBL_YES'])

 Needing some seconds thoughts on this.

-- 
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7127>
vtiger development <http://trac.vtiger.com/>
vtigerCRM



More information about the vtigercrm-commits mailing list