Skip to content

Commit

Permalink
add h() call around pluginName
Browse files Browse the repository at this point in the history
  • Loading branch information
LordSimal committed Oct 23, 2023
1 parent 611f0d2 commit a7c81b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/element/plugins_panel.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
* @var bool $hasEmptyAppConfig
* @var array $plugins
*/
use function Cake\Core\h;
?>
<div class="c-plugins-panel">
<?php
Expand All @@ -37,7 +38,7 @@
<tbody>
<?php foreach ($plugins as $pluginName => $pluginConfig) : ?>
<tr>
<td><?= $pluginName ?></td>
<td><?= h($pluginName) ?></td>
<td><?= $pluginConfig['isLoaded'] ? $this->Html->image('DebugKit./img/cake-red.svg') : '' ?></td>
<td><?= $pluginConfig['onlyDebug'] ? $this->Html->image('DebugKit./img/cake-red.svg') : '' ?></td>
<td><?= $pluginConfig['onlyCli'] ? $this->Html->image('DebugKit./img/cake-red.svg') : '' ?></td>
Expand Down

0 comments on commit a7c81b7

Please sign in to comment.