This is an old revision of the document!


Decode Special Chars in Product search

If you probably have problems with special chars within the Productsearch during Quote/Invoice Generation, you could do this small modification:

File: modules/Vtiger/actions/BasicAjax.php

Search

$result[] = array('label'=>decode_html($recordModel->getName()), 'value'=>decode_html($recordModel->getName()), 'id'=>$recordModel->getId());

REplace with

$result[] = array('label'=>decode_html(decode_html($recordModel->getName())), 'value'=>decode_html($recordModel->getName()), 'id'=>$recordModel->getId());