Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 0995681

Browse files
Merge forwardport of magento/magento2#12731 to 2.3-develop branch
Applied pull request patch https://github.com/magento/magento2/pull/12731.patch (created by @zamoroka) based on commit(s): 1. 30b8293 Fixed GitHub Issues in 2.3-develop branch: - magento/magento2#12209: Substitution payment method - Incorrect message (reported by @ihor-sviziev)
2 parents 9e4ce76 + eae8936 commit 0995681

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/code/Magento/Payment/view/adminhtml/templates/info/substitution.phtml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
*/
1111
?>
1212
<div>
13-
<?php $block->escapeHtml($block->getMethod()->getTitle());?>
13+
<?= $block->getMethod()->getTitle()
14+
? $block->escapeHtml($block->getMethod()->getTitle())
15+
: $block->escapeHtml(__('Payment method')); ?>
1416
<?= $block->escapeHtml(__(' is not available. You still can process offline actions.')) ?>
1517
</div>

0 commit comments

Comments
 (0)