diff options
author | Matthew Somerville <matthew@mysociety.org> | 2014-05-16 18:25:32 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2014-05-16 18:25:32 +0100 |
commit | 90208bb808c84209b16ce1628e04a8eaa6e10448 (patch) | |
tree | 65d02dd615762cabdfdbc2a026885ebef1ea23e2 /perllib/FixMyStreet/DB/Result/Problem.pm | |
parent | bf062b508081521201cf315f483b7aee3a6a0c7b (diff) | |
parent | 3687cc573db7fbdae09773d9007bc6abeac89409 (diff) |
Merge branch '700-auto-emails'
Diffstat (limited to 'perllib/FixMyStreet/DB/Result/Problem.pm')
-rw-r--r-- | perllib/FixMyStreet/DB/Result/Problem.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/DB/Result/Problem.pm b/perllib/FixMyStreet/DB/Result/Problem.pm index 7b5460c51..56a915c89 100644 --- a/perllib/FixMyStreet/DB/Result/Problem.pm +++ b/perllib/FixMyStreet/DB/Result/Problem.pm @@ -604,7 +604,7 @@ sub body { $body = join( _(' and '), map { my $name = $_->name; - if (mySociety::Config::get('AREA_LINKS_FROM_PROBLEMS')) { + if ($c and mySociety::Config::get('AREA_LINKS_FROM_PROBLEMS')) { '<a href="' . $_->url($c) . '">' . $name . '</a>'; } else { $name; |