Skip to content

Commit 87c8e2e

Browse files
committed
Fix static test
1 parent 2fbd1ed commit 87c8e2e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/ImportExport/view/adminhtml/templates/export/form/before.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ require([
8989
form.action = oldAction;
9090
} else {
9191
alert({
92-
content: '<?php echo __('Invalid data'); ?>'
92+
content: '<?= $block->escapeHtml(__('Invalid data')); ?>'
9393
});
9494
}
9595
};

app/code/Magento/ImportExport/view/adminhtml/templates/import/form/before.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ require([
209209
postToFrameProcessResponse: function(response) {
210210
if ('object' != typeof(response)) {
211211
alert({
212-
content: '<?php echo __('Invalid response'); ?>'
212+
content: '<?= $block->escapeHtml(__('Invalid response')); ?>'
213213
});
214214

215215
return false;

0 commit comments

Comments
 (0)