aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/SendReport.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-07-20 18:49:14 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-07-20 18:49:14 +0100
commit5612a350ba12f92d9f2d5dcbafc718b6d68f6e20 (patch)
tree099f804cd66f57dcda49f2d4f35c0bbfbc113e67 /perllib/FixMyStreet/SendReport.pm
parent3f5bf7ae6f87e9da2faa761065d7c6cc590183ff (diff)
Simplify SendReport code, moving some Email only bits to that module.
Diffstat (limited to 'perllib/FixMyStreet/SendReport.pm')
-rw-r--r--perllib/FixMyStreet/SendReport.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/SendReport.pm b/perllib/FixMyStreet/SendReport.pm
index 915fe4a20..66a31ffcc 100644
--- a/perllib/FixMyStreet/SendReport.pm
+++ b/perllib/FixMyStreet/SendReport.pm
@@ -36,9 +36,9 @@ sub reset {
sub add_council {
my $self = shift;
my $council = shift;
- my $name = shift;
+ my $info = shift;
- $self->councils->{ $council } = $name;
+ $self->councils->{ $council } = $info;
}