diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-01-22 12:40:53 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-01-22 12:40:53 -0500 |
commit | b906b91733f3f5e473845855f3ae1b504aa5671b (patch) | |
tree | 55ec1c14974765420aa6122eeb9c4ad5f1452e3e /app | |
parent | 8e18c39db9dbb0d91e28006b972dbe331e6500b4 (diff) |
Fix typos in PR #2950
Diffstat (limited to 'app')
-rw-r--r-- | app/Schema/Postgres.php | 2 | ||||
-rw-r--r-- | app/Template/comment/show.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/Schema/Postgres.php b/app/Schema/Postgres.php index 9c72141a..e7f89f82 100644 --- a/app/Schema/Postgres.php +++ b/app/Schema/Postgres.php @@ -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'); } diff --git a/app/Template/comment/show.php b/app/Template/comment/show.php index 8a9c855b..f8d9607e 100644 --- a/app/Template/comment/show.php +++ b/app/Template/comment/show.php @@ -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> |