diff --git a/app/serializers/reviewable_queued_post_serializer.rb b/app/serializers/reviewable_queued_post_serializer.rb index dbc06ac9a6f..ebdd4d0c683 100644 --- a/app/serializers/reviewable_queued_post_serializer.rb +++ b/app/serializers/reviewable_queued_post_serializer.rb @@ -24,7 +24,7 @@ class ReviewableQueuedPostSerializer < ReviewableSerializer end def include_reply_to_post_number? - object.payload['reply_to_post_number'].present? + object.payload.present? && object.payload['reply_to_post_number'].present? end end