Skip to content

Commit

Permalink
Merge forwardport of #12296 to 2.3-develop branch
Browse files Browse the repository at this point in the history
Applied pull request patch https://github.com/magento/magento2/pull/12296.patch (created by @madonzy) based on commit(s):
  1. addda42

Fixed GitHub Issues in 2.3-develop branch:
  - #3596: Notice: Undefined index: value in /app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Select.php on line 72 (reported by @gnusmus)
  • Loading branch information
magento-engcom-team authored Jan 24, 2018
2 parents fda37ef + 6ec6271 commit 47b1091
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/code/Magento/Payment/Helper/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ public function getPaymentMethodList($sorted = true, $asLabelValue = false, $wit
foreach ($methods as $code => $title) {
if (isset($groups[$code])) {
$labelValues[$code]['label'] = $title;
$labelValues[$code]['value'] = null;
} elseif (isset($groupRelations[$code])) {
unset($labelValues[$code]);
$labelValues[$groupRelations[$code]]['value'][$code] = ['value' => $code, 'label' => $title];
Expand Down

0 comments on commit 47b1091

Please sign in to comment.