Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:modifications:decode-specialchars-in-productsearch [2015/02/06 15:36]
swarnat created
en:modifications:decode-specialchars-in-productsearch [2015/02/06 15:37] (current)
swarnat
Line 2: Line 2:
  
 If you probably have problems with special chars within the Productsearch during Quote/​Invoice Generation, you could do this small modification:​ If you probably have problems with special chars within the Productsearch during Quote/​Invoice Generation, you could do this small modification:​
 +
 +I think the reason why this could happen, is the encoding of entities within the database class.
  
 === File: modules/​Vtiger/​actions/​BasicAjax.php === === File: modules/​Vtiger/​actions/​BasicAjax.php ===
Line 10: Line 12:
 </​code>​ </​code>​
  
-** REplace ​with **+** Replace ​with **
  
 <code php> <code php>
 $result[] = array('​label'​=>​decode_html(decode_html($recordModel->​getName())),​ '​value'​=>​decode_html($recordModel->​getName()),​ '​id'​=>​$recordModel->​getId());​ $result[] = array('​label'​=>​decode_html(decode_html($recordModel->​getName())),​ '​value'​=>​decode_html($recordModel->​getName()),​ '​id'​=>​$recordModel->​getId());​
 </​code>​ </​code>​