Merge pull request #12850 from atm-john/10.0_fix_export_explode
FIX complex export model loading
This commit is contained in:
commit
536f835a3e
@ -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)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user