Skip to content

Commit 64acc51

Browse files
author
Viktor Sevch
committed
MC-35765: [2.4.0-beta1] Full Tax Details causes the Order Page to fail
1 parent 1831d4b commit 64acc51

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Sales/view/adminhtml/templates/order/totals

1 file changed

+1
-1
lines changed

app/code/Magento/Sales/view/adminhtml/templates/order/totals/tax.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ $taxHelper = $block->getData('taxHelper');
8686
$amount = $info['tax_amount'];
8787
$baseAmount = $info['base_tax_amount'];
8888
$isFirst = 1;
89-
$infoTitle = preg_replace('/[^A-Za-z0-9\-]/', '', $info['title']);
89+
$infoTitle = sha1($info['title']);
9090
?>
9191
<tr id="info-<?= /* @noEscape */ $infoTitle ?>"
9292
class="summary-details<?= ($isTop ? ' summary-details-first' : '') ?>">

0 commit comments

Comments
 (0)