Merge branch 'hotfix' into develop
This commit is contained in:
commit
febae0f282
1 changed files with 2 additions and 2 deletions
|
|
@ -344,14 +344,14 @@ class ArcadiaController extends Controller
|
|||
|
||||
if ($type === 'game') {
|
||||
$key = array_search('code_on_pack', array_column($fields->orderLine, 'fieldName'));
|
||||
if ($key) {
|
||||
if ($key !== false) {
|
||||
$orderLine->appendChild(
|
||||
$dom->createElement('Code_on_Pack')
|
||||
)->appendChild($dom->createCDATASection($fields->orderLine[$key]->fieldValue));
|
||||
}
|
||||
|
||||
$key = array_search('code_unique', array_column($fields->orderLine, 'fieldName'));
|
||||
if ($key) {
|
||||
if ($key !== false) {
|
||||
$orderLine->appendChild(
|
||||
$dom->createElement('Code_Unique')
|
||||
)->appendChild($dom->createCDATASection($fields->orderLine[$key]->fieldValue));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue