aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/Open311.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2014-03-13 11:59:01 +0000
committerMatthew Somerville <matthew@mysociety.org>2014-03-13 12:03:05 +0000
commit797546c15d00dee15051495901c1dbbf96b0508f (patch)
tree5e8b14c0ddb220a74c73ebf56aee838028dfcf08 /perllib/Open311.pm
parent67a861664e3e58af3679b59c3272fca462cbed51 (diff)
Fix slight regression in cf20c709, to still match all UK cobrands.
Diffstat (limited to 'perllib/Open311.pm')
-rw-r--r--perllib/Open311.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/Open311.pm b/perllib/Open311.pm
index c8289a442..9b7614960 100644
--- a/perllib/Open311.pm
+++ b/perllib/Open311.pm
@@ -173,7 +173,7 @@ sub _generate_service_request_description {
my $extra = shift;
my $description = "";
- if ($problem->cobrand eq 'fixmystreet') {
+ if ($extra->{easting_northing}) { # Proxy for cobrand being in the UK
$description .= "detail: " . $problem->detail . "\n\n";
$description .= "url: " . $extra->{url} . "\n\n";
$description .= "Submitted via FixMyStreet\n";