[Vtigercrm-commits] [vtiger development] #4656: Exporting Records with </value> is not proper
vtiger development
vtiger-tickets at trac.vtiger.com
Mon Dec 10 02:19:17 EST 2007
#4656: Exporting Records with </value> is not proper
------------------------+---------------------------------------------------
Reporter: prasad | Owner: developer
Type: defect | Status: new
Priority: critical | Milestone: 5.0.4
Component: vtigercrm | Version: 5.0.4
Resolution: | Keywords:
------------------------+---------------------------------------------------
Comment (by prasad):
Are we not supposed to export the value in database without any changes?
I feel the following code lines:
{{{
foreach ($val as $key => $value)
{
if($key=="description" || $key=="note")
{
$value=br2nl_vt($value);
}
$value =
preg_replace("/(<\/?)(\w+)([^>]*>)/i","",html_entity_decode($value,
ENT_QUOTES, "UTF-8"));
array_push($new_arr, preg_replace("/\"/","\"\"",$value));
}
}}}
Should be:
{{{
foreach ($val as $key => $value)
{
array_push($new_arr, preg_replace("/\"/","\"\"",$value));
}
}}}
Let me know if you need more information.
Regards,
Prasad
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4656#comment:2>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list