diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-02-28 12:10:46 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-02-28 12:10:46 +0000 |
commit | 9a6db4f6e5b9c83c8f3c1ea70c46beb8424430c3 (patch) | |
tree | 308d09d8ff16cfc90e8e7055f5cc6488a68c3a6c /perllib/FixMyStreet/App/View/Web.pm | |
parent | ec8bfae18fd70e5856919f935104297145b6e3a2 (diff) | |
parent | 7ecd4513cc9703fa27b1f521a1fc443cc9a3ca33 (diff) |
Merge branch 'reduce-the-stats'
Diffstat (limited to 'perllib/FixMyStreet/App/View/Web.pm')
-rw-r--r-- | perllib/FixMyStreet/App/View/Web.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/View/Web.pm b/perllib/FixMyStreet/App/View/Web.pm index b73fa82ef..496463700 100644 --- a/perllib/FixMyStreet/App/View/Web.pm +++ b/perllib/FixMyStreet/App/View/Web.pm @@ -155,7 +155,7 @@ sub version { sub _version_get_mtime { my $file = shift; - unless ($version_hash{$file} && !FixMyStreet->config('STAGING_SITE')) { + unless (defined $version_hash{$file} && !FixMyStreet->config('STAGING_SITE')) { my $path = FixMyStreet->path_to('web', $file); $version_hash{$file} = ( stat( $path ) )[9] || 0; } |