From a251e5f6e388bc27443039a70010b7c0e37beb7e Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 22 May 2012 08:21:47 -0400 Subject: [PATCH] Bug 8128 - Followup - Change default value for cache_expiry Change default value for cache_expiry from 0 to 300. --- C4/Reports/Guided.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/C4/Reports/Guided.pm b/C4/Reports/Guided.pm index c82e995..04b3d53 100644 --- a/C4/Reports/Guided.pm +++ b/C4/Reports/Guided.pm @@ -473,7 +473,7 @@ Returns id of the newly created report sub save_report { my ( $borrowernumber, $sql, $name, $type, $notes, $cache_expiry, $public ) = @_; - $cache_expiry ||= 0; + $cache_expiry ||= 300; my $dbh = C4::Context->dbh(); $sql =~ s/(\s*\;\s*)$//; # removes trailing whitespace and /;/ my $query = -- 1.7.2.5