aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Cobrand/SeeSomething.pm
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-12-21 10:15:40 +0000
committerStruan Donald <struan@exo.org.uk>2012-12-21 10:15:40 +0000
commit9a491a5228f90ec38d03c0d40575f30e5aad2d49 (patch)
tree9a940412bf54d9388f304fe3c7221e1aa33e783e /perllib/FixMyStreet/Cobrand/SeeSomething.pm
parent896f00393209dc1482035a838a4a6b5929cc55a0 (diff)
get $c from $self rather than having to pass it in
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/SeeSomething.pm')
-rw-r--r--perllib/FixMyStreet/Cobrand/SeeSomething.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Cobrand/SeeSomething.pm b/perllib/FixMyStreet/Cobrand/SeeSomething.pm
index ca7657176..2267b4f57 100644
--- a/perllib/FixMyStreet/Cobrand/SeeSomething.pm
+++ b/perllib/FixMyStreet/Cobrand/SeeSomething.pm
@@ -89,7 +89,8 @@ sub admin_pages {
};
sub admin_stats {
- my ( $self, $c ) = @_;
+ my $self = shift;
+ my $c = $self->{c};
my %filters = ();