aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perllib/FixMyStreet/Cobrand/Zurich.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Zurich.pm b/perllib/FixMyStreet/Cobrand/Zurich.pm
index 1d219ce37..7a54fe0d5 100644
--- a/perllib/FixMyStreet/Cobrand/Zurich.pm
+++ b/perllib/FixMyStreet/Cobrand/Zurich.pm
@@ -651,7 +651,7 @@ sub admin_report_edit {
&& $new_cat
&& $new_cat ne $problem->category
) {
- my $cat = $c->model('DB::Contact')->search({ category => $c->get_param('category') } )->first;
+ my $cat = $c->model('DB::Contact')->not_deleted->search({ category => $c->get_param('category') } )->first;
my $old_cat = $problem->category;
$problem->category( $new_cat );
$problem->external_body( undef );