Fixed HTML validation
This commit is contained in:
parent
6af3a0e42b
commit
395ac3033f
1 changed files with 1 additions and 3 deletions
|
@ -44,15 +44,13 @@ LayoutHelper::addScript('core.js');
|
|||
<?php endif ?>
|
||||
<hr>
|
||||
<?php if ($this->config->misc->debugQueries): ?>
|
||||
<pre class="debug">
|
||||
<?php foreach (Database::getLogs() as $query)
|
||||
{
|
||||
$bindings = [];
|
||||
foreach ($query->getBindings() as $k => $v)
|
||||
$bindings []= $k . '=' . $v;
|
||||
printf('<p>%s [%s]</p>', htmlspecialchars($query->getAsString()), join(', ', $bindings));
|
||||
printf('<pre class="debug">%s [%s]</pre>', htmlspecialchars($query->getAsString()), join(', ', $bindings));
|
||||
} ?>
|
||||
</pre>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
</footer>
|
||||
|
|
Loading…
Reference in a new issue