diff options
Diffstat (limited to 'perllib/FixMyStreet/SendReport.pm')
-rw-r--r-- | perllib/FixMyStreet/SendReport.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/SendReport.pm b/perllib/FixMyStreet/SendReport.pm index b869299a2..c73cbb918 100644 --- a/perllib/FixMyStreet/SendReport.pm +++ b/perllib/FixMyStreet/SendReport.pm @@ -63,7 +63,7 @@ sub add_body { sub fetch_category { my ($self, $body, $row, $category_override) = @_; - my $contact = $row->result_source->schema->resultset("Contact")->not_deleted->find( { + my $contact = $row->result_source->schema->resultset("Contact")->find( { body_id => $body->id, category => $category_override || $row->category, } ); |