mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
#47 Inserts null for updated_at when the user is creating a comment.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user