From b906b91733f3f5e473845855f3ae1b504aa5671b Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 22 Jan 2017 12:40:53 -0500 Subject: Fix typos in PR #2950 --- app/Schema/Postgres.php | 2 +- app/Template/comment/show.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'app') 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 @@ text->e($comment['name'] ?: $comment['username']) ?> - : dt->datetime($comment['date_creation']) ?> - : dt->datetime($comment['date_modification']) ?> + dt->datetime($comment['date_creation']) ?> + dt->datetime($comment['date_modification']) ?> -- cgit v1.2.3