Fixed plural in footer

This commit is contained in:
Marcin Kurczewski 2014-05-18 11:21:40 +02:00
parent b185b098d0
commit 794d0497c8

View file

@ -53,7 +53,7 @@ $this->assets->addScript('core.js');
<div class="right">
<span><?= TextHelper::useBytesUnits(memory_get_usage()) ?></span>
<span><?= sprintf('%.04f', microtime(true) - $this->context->startTime) ?>s</span>
<span><?= count(\Chibi\Database::getLogs()) ?> queries</span>
<span><?= $x = count(\Chibi\Database::getLogs()) ?> <?= $x != 1 ? 'queries' : 'query' ?></span>
</div>
<div class="clear"></div>
<hr/>