mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04: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
|
// new comment
|
||||||
$comment->page_id = $page->id;
|
$comment->page_id = $page->id;
|
||||||
$comment->created_by = $userId;
|
$comment->created_by = $userId;
|
||||||
|
$comment->updated_at = null;
|
||||||
$comment->save();
|
$comment->save();
|
||||||
return $comment;
|
return $comment;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user