Fix typos in PR #2950
This commit is contained in:
@@ -12,7 +12,7 @@ function version_98(PDO $pdo)
|
|||||||
{
|
{
|
||||||
$pdo->exec('ALTER TABLE "comments" ADD COLUMN date_modification BIGINT');
|
$pdo->exec('ALTER TABLE "comments" ADD COLUMN date_modification BIGINT');
|
||||||
$pdo->exec('UPDATE "comments"
|
$pdo->exec('UPDATE "comments"
|
||||||
SET date_modificaiton = date_creation
|
SET date_modification = date_creation
|
||||||
WHERE date_modification IS NULL');
|
WHERE date_modification IS NULL');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
<strong class="comment-username"><?= $this->text->e($comment['name'] ?: $comment['username']) ?></strong>
|
<strong class="comment-username"><?= $this->text->e($comment['name'] ?: $comment['username']) ?></strong>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
<small class="comment-date"><?= t('Created At')?>: <?= $this->dt->datetime($comment['date_creation']) ?></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>
|
<small class="comment-date"><?= t('Updated at:')?> <?= $this->dt->datetime($comment['date_modification']) ?></small>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user