From 6cb7dadc59885295755a83b2739292228c80ebd0 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 22 May 2012 08:21:47 -0400 Subject: [PATCH] Bug 8128 - [SIGNED-OFF]Followup - Change default value for cache_expiry Change default value for cache_expiry from 0 to 300. Signed-off-by: Jonathan Druart Signed-off-by: Paul Poulain --- C4/Reports/Guided.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Reports/Guided.pm b/C4/Reports/Guided.pm index c82e995aaa..04b3d53cb5 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 = -- 2.39.5