aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet')
-rw-r--r--perllib/FixMyStreet/App.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App.pm b/perllib/FixMyStreet/App.pm
index 866f1f462..787755a05 100644
--- a/perllib/FixMyStreet/App.pm
+++ b/perllib/FixMyStreet/App.pm
@@ -560,7 +560,8 @@ sub get_param_list {
my ($c, $param) = @_;
my $value = $c->req->params->{$param};
return @$value if ref $value;
- return ($value);
+ return ($value) if defined $value;
+ return ();
}
=head2 set_param