Merge pull request #11571 from atm-john/9.0_fix_showOutputField

Fix sellist showOuputField
This commit is contained in:
Laurent Destailleur 2019-07-30 21:40:37 +02:00 committed by GitHub
commit ed7a57e3ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5957,6 +5957,12 @@ abstract class CommonObject
$type='link';
$param['options']=array($reg[1].':'.$reg[2]=>$reg[1].':'.$reg[2]);
}
elseif(preg_match('/^sellist:(.*):(.*):(.*):(.*)/i', $val['type'], $reg)) {
$param['options'] = array($reg[1] . ':' . $reg[2] . ':' . $reg[3] . ':' . $reg[4] => 'N');
$type = 'sellist';
}
$langfile=$val['langfile'];
$list=$val['list'];
$help=$val['help'];