[Vtigercrm-developers] V6 Basic Ajax.php error

Daniel Thompson developingdanny at gmail.com
Mon Feb 10 15:21:40 GMT 2014


Hi all,

Ran into an error if the result returns no rows in a development enviroment.

foreach($records as $moduleName=>$recordModels)
{
foreach($recordModels as $recordModel) {
$result[] = array('label'=>decode_html($recordModel->getName()),
'value'=>decode_html($recordModel->getName()), 'id'=>$recordModel->getId());
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140210/9f8d95a0/attachment.html>


More information about the vtigercrm-developers mailing list