Fix complex export model loading

This commit is contained in:
John Botella 2020-01-15 14:36:44 +01:00
parent 0a1a07aa22
commit 10c973f38f

View File

@ -373,7 +373,7 @@ if ($step == 2 && $action == 'select_model')
$result = $objexport->fetch($exportmodelid);
if ($result > 0)
{
$fieldsarray=explode(',', $objexport->hexa);
$fieldsarray=preg_split("/,(?! [^(]*\))/", $objexport->hexa);
$i=1;
foreach($fieldsarray as $val)
{