From 3f0eee42766b2ccd4b2ffea57af0d9fb2c057758 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nazl=C4=B1=20=C3=87etin?= Date: Fri, 27 Mar 2020 12:25:46 +0000 Subject: [PATCH] Bug 25000: SQL report not updated Signed-off-by: Martin Renvoize Signed-off-by: Joy Nelson (cherry picked from commit cb7729c55df1ac4197e9fcf92d42789ba3006bca) Signed-off-by: Lucas Gass --- C4/Reports/Guided.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Reports/Guided.pm b/C4/Reports/Guided.pm index 3f5accf3ac..6e686cd3d0 100644 --- a/C4/Reports/Guided.pm +++ b/C4/Reports/Guided.pm @@ -626,6 +626,7 @@ sub update_sql { $report->report_subgroup($subgroup); $report->cache_expiry($cache_expiry) if defined $cache_expiry; $report->public($public); + $report->store(); if( $cache_expiry >= 2592000 ){ die "Please specify a cache expiry less than 30 days\n"; # That's a bit harsh } -- 2.39.5