diff --git a/extensions/sticky/src/Post/DiscussionStickiedPost.php b/extensions/sticky/src/Post/DiscussionStickiedPost.php index 26d9abcb1..0ad5cabb5 100755 --- a/extensions/sticky/src/Post/DiscussionStickiedPost.php +++ b/extensions/sticky/src/Post/DiscussionStickiedPost.php @@ -25,7 +25,7 @@ class DiscussionStickiedPost extends AbstractEventPost implements MergeableInter /** * {@inheritdoc} */ - public function saveAfter(Post $previous) + public function saveAfter(Post $previous = null) { // If the previous post is another 'discussion stickied' post, and it's // by the same user, then we can merge this post into it. If we find