fix extrafield checkbox from table (#CroudFounding_DarkJeff_2021)

This commit is contained in:
Florian HENRY 2020-12-09 10:35:30 +01:00
parent 43b1be01d9
commit 29b682d810

View File

@ -159,7 +159,7 @@ if ($action == 'add')
$parameters = $param;
$parameters_array = explode("\r\n", $parameters);
//In sellist we have only one line and it can have come to do SQL expression
if ($type == 'sellist') {
if ($type == 'sellist' || $type == 'chkbxlst') {
foreach ($parameters_array as $param_ligne)
{
$params['options'] = array($parameters=>null);
@ -338,7 +338,7 @@ if ($action == 'update')
$parameters = $param;
$parameters_array = explode("\r\n", $parameters);
//In sellist we have only one line and it can have come to do SQL expression
if ($type == 'sellist') {
if ($type == 'sellist' || $type == 'chkbxlst') {
foreach ($parameters_array as $param_ligne)
{
$params['options'] = array($parameters=>null);