[Vtigercrm-commits] [vtiger development] #7033: webform doesn't support multipicklist if not magic_quotes_gpc
vtiger development
vtiger-tickets at trac.vtiger.com
Mon Feb 28 04:50:58 PST 2011
#7033: webform doesn't support multipicklist if not magic_quotes_gpc
------------------------+---------------------------------------------------
Reporter: joebordes | Owner: developer
Type: defect | Status: new
Priority: unassigned | Milestone: 5.3.0
Component: vtigercrm | Version: 5.2.1
Keywords: |
------------------------+---------------------------------------------------
in the function vtws_getParameter(), in script Utils.php:
{{{
if (!get_magic_quotes_gpc()) {
$param = addslashes($parameterArray[$paramName]);
} else {
}}}
when receiving a multipicklist value $parameterArray[$paramName] is an
array and this doesn't work. The code should detect that it is an array
and in that case apply the addslashes to all the elements.
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7033>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list