From 34802ff8a6ead132ce963ba711849b58dc0f46f3 Mon Sep 17 00:00:00 2001 From: Abijeet Date: Thu, 25 May 2017 08:02:49 +0530 Subject: [PATCH] #47 Inserts null for updated_at when the user is creating a comment. --- app/Repos/CommentRepo.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Repos/CommentRepo.php b/app/Repos/CommentRepo.php index 10b36eb16..7e4955d55 100644 --- a/app/Repos/CommentRepo.php +++ b/app/Repos/CommentRepo.php @@ -26,6 +26,7 @@ class CommentRepo { // new comment $comment->page_id = $page->id; $comment->created_by = $userId; + $comment->updated_at = null; $comment->save(); return $comment; }