Skip to content

Commit c4d67d6

Browse files
committed
Address PHPCBF Static test failure
1 parent 8b4fbd1 commit c4d67d6

File tree

1 file changed

+10
-9
lines changed
  • app/code/Meta/BusinessExtension/view/adminhtml/templates

1 file changed

+10
-9
lines changed

app/code/Meta/BusinessExtension/view/adminhtml/templates/setup.phtml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,16 @@
77
<select id="store">
88
<option value=""><?= $escaper->escapeHtml(__('Select store')) ?></option>
99
<?php foreach ($block->getStores() as $key => $store): ?>
10-
<?php if ($key == 'admin'): continue; endif; ?>
11-
<option
12-
value="<?= $escaper->escapeHtmlAttr($store['store_id']) ?>"
13-
data-installed="<?= $escaper->escapeHtmlAttr($block->isFBEInstalled($store['store_id'])) ?>"
14-
data-pixel-id="<?= $escaper->escapeHtmlAttr($block->fetchPixelId($store['store_id'])) ?>"
15-
data-system-user-name="<?= $escaper->escapeHtmlAttr($block->getExternalBusinessId($store['store_id'])) ?>"
16-
data-external-business-id=
17-
"<?= $escaper->escapeHtmlAttr($block->getExternalBusinessId($store['store_id'])) ?>"
18-
><?= $escaper->escapeHtml(__($store['name'])) ?></option>
10+
<?php if ($key !== 'admin'): ?>
11+
<option
12+
value="<?= $escaper->escapeHtmlAttr($store['store_id']) ?>"
13+
data-installed="<?= $escaper->escapeHtmlAttr($block->isFBEInstalled($store['store_id'])) ?>"
14+
data-pixel-id="<?= $escaper->escapeHtmlAttr($block->fetchPixelId($store['store_id'])) ?>"
15+
data-system-user-name="<?= $escaper->escapeHtmlAttr($block->getExternalBusinessId($store['store_id'])) ?>"
16+
data-external-business-id=
17+
"<?= $escaper->escapeHtmlAttr($block->getExternalBusinessId($store['store_id'])) ?>"
18+
><?= $escaper->escapeHtml(__($store['name'])) ?></option>
19+
<?php endif; ?>
1920
<?php endforeach; ?>
2021
</select>
2122
<div>

0 commit comments

Comments
 (0)