aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/View/Web.pm
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-01-10 17:15:24 +0000
committerStruan Donald <struan@exo.org.uk>2012-01-10 17:15:24 +0000
commit6228cc7aa55defdb694d2de05d2a2be282955fe6 (patch)
tree1392fb78e01bd6ab28108de42ccd5f8097340dc8 /perllib/FixMyStreet/App/View/Web.pm
parent22c0a7367193e947af70ab1bbdfb3268fd1ec3c6 (diff)
parent1955a60586ecd4d6dc7d72de31d01d28230fbb8b (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.pm2
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];
}