Skip to content

Commit 927f940

Browse files
committed
MC-18215: Error message while creating shipping label
- Revert echo url in location
1 parent d9d4b82 commit 927f940

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Shipping/view/adminhtml/templates/order/packaging

1 file changed

+1
-1
lines changed

app/code/Magento/Shipping/view/adminhtml/templates/order/packaging/popup.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ $girthEnabled = $block->isDisplayGirthValue() && $block->isGirthAllowed() ? 1 :
3131
packaging.sendCreateLabelRequest();
3232
});
3333
packaging.setLabelCreatedCallback(function(response){
34-
setLocation("<?php $block->escapeJs($block->escapeUrl($block->getUrl(
34+
setLocation("<?= $block->escapeJs($block->escapeUrl($block->getUrl(
3535
'sales/order/view',
3636
['order_id' => $block->getShipment()->getOrderId()]
3737
))); ?>");

0 commit comments

Comments
 (0)