summaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2013-09-24 17:47:00 +0200
committerDaniel Friesel <derf@finalrewind.org>2013-09-24 17:47:00 +0200
commit9d7e48602a3d3f66ac174a55f0ed56a7100fd14e (patch)
tree8f866e9dab4c64b65cb3dc0e422922f0b612f06e /cgi
parent9377df363789cfe0d9333938584a50a42c3e9844 (diff)
fix $expiry declaration error (broken in 5.14)
Diffstat (limited to 'cgi')
-rw-r--r--cgi/index.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/index.pl b/cgi/index.pl
index 03b2a3b..875ed8a 100644
--- a/cgi/index.pl
+++ b/cgi/index.pl
@@ -26,7 +26,7 @@ my %default = (
sub get_results {
my ( $backend, $city, $stop, $expiry ) = @_;
- my $expiry ||= 150;
+ $expiry ||= 150;
my $cache = Cache::File->new(
cache_root => '/tmp/vrr-fake',