From a740918a202afb54932a3627e3d04a7015460a27 Mon Sep 17 00:00:00 2001 From: Parziphal Date: Sat, 12 Apr 2014 16:55:25 -0500 Subject: [PATCH] Fixed issue #69. --- app/controllers/ForumController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/ForumController.php b/app/controllers/ForumController.php index 8c5696a..f7e8410 100755 --- a/app/controllers/ForumController.php +++ b/app/controllers/ForumController.php @@ -186,7 +186,7 @@ class ForumController extends ApplicationController public function markAllRead() { - $this->current_user->updateAttribute('last_forum_topic_read_at', time()); + $this->current_user->updateAttribute('last_forum_topic_read_at', date('Y-m-d H:i:s')); $this->render('nothing'); } }