Skip to content

Commit d86efb6

Browse files
author
Oleksandr Gorkun
committed
MAGETWO-55809: Eliminate @escapeNotVerified in Module Backend
1 parent 0f4f949 commit d86efb6

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Backend/view/adminhtml/templates/widget/form

1 file changed

+1
-1
lines changed

app/code/Magento/Backend/view/adminhtml/templates/widget/form/element.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ $type = $element->getType();
1313
<?= /* @noEscape */ $formBlock->drawElement($_element) ?>
1414
<?php endforeach; ?>
1515
</fieldset>
16-
<?php elseif ($type === 'column' || $type === 'hidden') : ?>
16+
<?php elseif ($type === 'hidden') : ?>
1717
<input type="<?= $block->escapeHtmlAttr($element->getType()) ?>" name="<?= $block->escapeHtmlAttr($element->getName()) ?>" id="<?= $element->getHtmlId() ?>" value="<?= $block->escapeHtmlAttr($element->getValue()) ?>">
1818
<?php elseif ($type === 'select') : ?>
1919
<span class="form_row">

0 commit comments

Comments
 (0)