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'); } }