From fc048f067f326d2bd802785d38b04bdeb3a8b5d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Wed, 14 May 2014 19:48:20 +0200 Subject: [PATCH] BUGFIX: ooops, forgot a comma :( --- lib/tasks/vanilla.thor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/vanilla.thor b/lib/tasks/vanilla.thor index 59170be205..dba4250775 100644 --- a/lib/tasks/vanilla.thor +++ b/lib/tasks/vanilla.thor @@ -247,7 +247,7 @@ class Vanilla < Thor SET views = :views, closed = :closed, pinned_at = :pinned_at, - last_posted_at = (SELECT MAX(created_at) FROM posts WHERE topic_id = :topic_id) + last_posted_at = (SELECT MAX(created_at) FROM posts WHERE topic_id = :topic_id), bumped_at = (SELECT MAX(created_at) FROM posts WHERE topic_id = :topic_id) WHERE id = :topic_id SQL