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 ?>
|
<?php endif ?>
|
||||||
<hr>
|
<hr>
|
||||||
<?php if ($this->config->misc->debugQueries): ?>
|
<?php if ($this->config->misc->debugQueries): ?>
|
||||||
<pre class="debug">
|
|
||||||
<?php foreach (Database::getLogs() as $query)
|
<?php foreach (Database::getLogs() as $query)
|
||||||
{
|
{
|
||||||
$bindings = [];
|
$bindings = [];
|
||||||
foreach ($query->getBindings() as $k => $v)
|
foreach ($query->getBindings() as $k => $v)
|
||||||
$bindings []= $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 ?>
|
<?php endif ?>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
Loading…
Reference in a new issue