diff options
author | Struan Donald <struan@exo.org.uk> | 2012-01-10 17:15:24 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-01-10 17:15:24 +0000 |
commit | 6228cc7aa55defdb694d2de05d2a2be282955fe6 (patch) | |
tree | 1392fb78e01bd6ab28108de42ccd5f8097340dc8 /perllib/FixMyStreet/App/View/Web.pm | |
parent | 22c0a7367193e947af70ab1bbdfb3268fd1ec3c6 (diff) | |
parent | 1955a60586ecd4d6dc7d72de31d01d28230fbb8b (diff) |
Merge remote branch 'origin/master' into reportemptyhomes
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 43d46ae25..755f1e405 100644 --- a/perllib/FixMyStreet/App/View/Web.pm +++ b/perllib/FixMyStreet/App/View/Web.pm @@ -168,7 +168,7 @@ sub html_filter { my %version_hash; sub version { my ( $self, $c, $file ) = @_; - unless ($version_hash{$file}) { + unless ($version_hash{$file} && !FixMyStreet->config('STAGING_SITE')) { my $path = FixMyStreet->path_to('web', $file); $version_hash{$file} = ( stat( $path ) )[9]; } |