From f021db1cd27747e30729f109a9c0d5919bd775b4 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Mon, 11 Feb 2013 13:20:59 +0000 Subject: Warnfix. --- perllib/FixMyStreet/Cobrand/Zurich.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perllib/FixMyStreet/Cobrand/Zurich.pm b/perllib/FixMyStreet/Cobrand/Zurich.pm index 104ba6bf5..236438689 100644 --- a/perllib/FixMyStreet/Cobrand/Zurich.pm +++ b/perllib/FixMyStreet/Cobrand/Zurich.pm @@ -312,7 +312,7 @@ sub admin_report_edit { $extra->{publish_photo} = $c->req->params->{publish_photo} || 0; $extra->{third_personal} = $c->req->params->{third_personal} || 0; # Make sure we have a copy of the original detail field - $extra->{original_detail} = $problem->detail if !$extra->{original_detail} && $problem->detail ne $c->req->params->{detail}; + $extra->{original_detail} = $problem->detail if !$extra->{original_detail} && $c->req->params->{detail} && $problem->detail ne $c->req->params->{detail}; $problem->extra( { %$extra } ); # Workflow things -- cgit v1.2.3