aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-02-11 13:20:59 +0000
committerMatthew Somerville <matthew@mysociety.org>2013-02-11 13:20:59 +0000
commitf021db1cd27747e30729f109a9c0d5919bd775b4 (patch)
tree1ad2199a093320db46654c07d0f5e51c696b7908
parentaf36607c4f6b5cceb50f2c716b85c8b58df5576c (diff)
Warnfix.
-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 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