Fix typos in PR #2950

This commit is contained in:
Frederic Guillot 2017-01-22 12:40:53 -05:00
parent 8e18c39db9
commit b906b91733
2 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ function version_98(PDO $pdo)
{
$pdo->exec('ALTER TABLE "comments" ADD COLUMN date_modification BIGINT');
$pdo->exec('UPDATE "comments"
SET date_modificaiton = date_creation
SET date_modification = date_creation
WHERE date_modification IS NULL');
}

View File

@ -7,8 +7,8 @@
<strong class="comment-username"><?= $this->text->e($comment['name'] ?: $comment['username']) ?></strong>
<?php endif ?>
<small class="comment-date"><?= t('Created At')?>: <?= $this->dt->datetime($comment['date_creation']) ?></small>
<small class="comment-date"><?= t('Updated At')?>: <?= $this->dt->datetime($comment['date_modification']) ?></small>
<small class="comment-date"><?= t('Created at:') ?> <?= $this->dt->datetime($comment['date_creation']) ?></small>
<small class="comment-date"><?= t('Updated at:')?> <?= $this->dt->datetime($comment['date_modification']) ?></small>
</div>