Skip to content

Commit

Permalink
fix debug panel for PHP 8.1 [closes #166]
Browse files Browse the repository at this point in the history
  • Loading branch information
hrach committed Jan 9, 2022
1 parent 05276f8 commit 05c44e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Bridges/NetteTracy/ConnectionPanel.panel.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@ namespace Nextras\Dbal\Bridges\NetteTracy;
<table class="tracy-collapsed nextras-dbal-explain">
<tr>
<?php foreach ($explain[0] as $col => $foo): ?>
<th><?php echo htmlSpecialChars($col, ENT_NOQUOTES, 'UTF-8') ?></th>
<th><?php echo htmlSpecialChars($col ?? '', ENT_NOQUOTES, 'UTF-8') ?></th>
<?php endforeach ?>
</tr>
<?php foreach ($explain as $row): ?>
<tr>
<?php foreach ($row as $col): ?>
<td class="<?php echo $whitespaceExplain ? 'whitespace-explain' : '' ?>"><?php echo htmlSpecialChars($col, ENT_NOQUOTES, 'UTF-8') ?></td>
<td class="<?php echo $whitespaceExplain ? 'whitespace-explain' : '' ?>"><?php echo htmlSpecialChars($col ?? '', ENT_NOQUOTES, 'UTF-8') ?></td>
<?php endforeach ?>
</tr>
<?php endforeach ?>
Expand Down

0 comments on commit 05c44e7

Please sign in to comment.