mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-24 12:59:54 +08:00
#47 Inserts null for updated_at when the user is creating a comment.
This commit is contained in:
parent
0ff5aad9c0
commit
34802ff8a6
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user