[Vtigercrm-commits] [vtiger development] #4092: Single Quotes(') problem in Product Description..

vtiger development vtiger-tickets at trac.vtiger.com
Mon Jul 23 09:35:10 EDT 2007


#4092: Single Quotes(') problem in Product Description..
--------------------------+-------------------------------------------------
 Reporter:  shahulhameed  |       Owner:  shahulhameed
     Type:  defect        |      Status:  new         
 Priority:  major         |   Milestone:  5.0.4       
Component:  vtigercrm     |     Version:  5.0.3       
 Keywords:                |  
--------------------------+-------------------------------------------------
 Create a product and give any (') in description.
 Then create a new invoice and add the product.
 This product will not saved with the invoice.
 because the query failed due to the (') in product description.

 '''FIX:'''
 In "'''include/utils/InventoryUtils.php'''", On line :514 Add the
 following line:


  $description=addslashes($description);

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




More information about the vtigercrm-commits mailing list