diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2012-10-04 13:50:46 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2012-10-05 14:29:43 +0100 |
commit | 85aa8a112e97e2c25d7af090fd9fab83e86a842b (patch) | |
tree | e56618f8bb8c44ea0b47b1d8d81e98f227136d30 /perllib/FixMyStreet/App/View/Web.pm | |
parent | a4f6ba5bd1c6ae1a1c4f2a3186c920b54f88b53d (diff) |
Travis script.
Diffstat (limited to 'perllib/FixMyStreet/App/View/Web.pm')
-rw-r--r-- | perllib/FixMyStreet/App/View/Web.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/View/Web.pm b/perllib/FixMyStreet/App/View/Web.pm index eac194dff..42878be37 100644 --- a/perllib/FixMyStreet/App/View/Web.pm +++ b/perllib/FixMyStreet/App/View/Web.pm @@ -171,6 +171,7 @@ sub version { my $path = FixMyStreet->path_to('web', $file); $version_hash{$file} = ( stat( $path ) )[9]; } + $version_hash{$file} ||= ''; return "$file?$version_hash{$file}"; } |