diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-12-18 18:05:18 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-12-18 18:05:18 +0000 |
commit | 386e7edd6d9ff96b771e18e4516ae4ae0a93ce8b (patch) | |
tree | d4feb7293eecd961fa10c3f87884a1d4902c3d30 /perllib/Open311.pm | |
parent | 495200d34afe198ebf13ab2f2529ad5ce00f9ebd (diff) |
Fix default now it's swapped, and extra newline stoppage.
Diffstat (limited to 'perllib/Open311.pm')
-rw-r--r-- | perllib/Open311.pm | 5 |
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 } |