[Vtigercrm-commits] [vtiger development] #7638: getDBInsertedValue() does not strip currency symbol

vtiger development vtiger-tickets at trac.vtiger.com
Fri Jan 25 13:18:31 PST 2013


#7638: getDBInsertedValue() does not strip currency symbol
-----------------------+----------------------------------------------------
 Reporter:  heinz      |       Owner:  developer
     Type:  patch      |      Status:  new      
 Priority:  major      |   Milestone:  6.0.0    
Component:  vtigercrm  |     Version:  5.4.0    
 Severity:  Medium     |    Keywords:           
-----------------------+----------------------------------------------------
 A fairly common data entry mistake we see our users make is to type $500
 into a price field, when the system expects 500.  The currency and decimal
 separators are handled properly, but getDBInsertedValue() does not strip
 currency symbol from the string before it uses round(), causing the value
 to be set to zero.

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



More information about the vtigercrm-commits mailing list