Skip to content

Commit aef9714

Browse files
author
Oleksii Korshenko
committed
MAGETWO-83959: Issue: 3596. Resolve Notice with undefined index 'value' magento#12296
- Merge Pull Request magento#12296 from madonzy/magento2:hotfix/3596-undevined-index-value-in-order-view-2.2 - Merged commits: 1. addda42
2 parents 7ea830f + addda42 commit aef9714

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Payment/Helper/Data.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ public function getPaymentMethodList($sorted = true, $asLabelValue = false, $wit
293293
foreach ($methods as $code => $title) {
294294
if (isset($groups[$code])) {
295295
$labelValues[$code]['label'] = $title;
296+
$labelValues[$code]['value'] = null;
296297
} elseif (isset($groupRelations[$code])) {
297298
unset($labelValues[$code]);
298299
$labelValues[$groupRelations[$code]]['value'][$code] = ['value' => $code, 'label' => $title];

0 commit comments

Comments
 (0)