[Vtigercrm-commits] [vtiger development] #4642: i18n issue in advanced search

vtiger development vtiger-tickets at trac.vtiger.com
Wed Dec 5 04:09:50 EST 2007


#4642: i18n issue in advanced search
----------------------------+-----------------------------------------------
 Reporter:  OlivierAufrere  |       Owner:  developer
     Type:  defect          |      Status:  new      
 Priority:  unassigned      |   Milestone:  5.0.4    
Component:  vtigercrm       |     Version:  5.0.3    
 Keywords:                  |  
----------------------------+-----------------------------------------------
 Hi,

 The field campaignid (fieldlabel "Campaign Source") is translated twice in
 include/utils/searchutils.php (Revision 11535):
 at line 521:
 $fieldlabel = $mod_strings[$adb->query_result($result,$i,"fieldlabel")];
 at line 564,565:
 elseif($fieldcolname == "campaignid")
 $OPTION_SET .= "<option
 value=\'vtiger_campaign.campaignname::::".$fieldtypeofdata."\'
 ".$select_flag.">".$mod_strings[$fieldlabel]."</option>";

 Consequence:
 if the translation is different than "Campaign Source", the second
 translation returns nothing.

 Solution:
 the lines 564 and 565 don't seem to be usefull now. Juste remove them and
 it will be solved.

 Regards,
 Olivier

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




More information about the vtigercrm-commits mailing list