aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/Open311.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/Open311.pm')
-rw-r--r--perllib/Open311.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/perllib/Open311.pm b/perllib/Open311.pm
index 9ed15bb10..7a5493704 100644
--- a/perllib/Open311.pm
+++ b/perllib/Open311.pm
@@ -22,7 +22,7 @@ has success => ( is => 'rw', 'isa' => 'Bool', default => 0 );
has error => ( is => 'rw', 'isa' => 'Str', default => '' );
has always_send_latlong => ( is => 'ro', isa => 'Bool', default => 1 );
has send_notpinpointed => ( is => 'ro', isa => 'Bool', default => 0 );
-has extended_description => ( is => 'ro', isa => 'Bool', default => 0 );
+has extended_description => ( is => 'ro', isa => 'Str', default => 1 );
has use_service_as_deviceid => ( is => 'ro', isa => 'Bool', default => 0 );
has use_extended_updates => ( is => 'ro', isa => 'Bool', default => 0 );
@@ -176,10 +176,9 @@ Submitted via FixMyStreet
EOT
;
if ($self->extended_description ne 'oxfordshire') {
- $description = <<EOT;
+ $description = <<EOT . $description;
title: @{[$problem->title()]}
-$description
EOT
}