Bug 25000: SQL report not updated

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
This commit is contained in:
Nazlı Çetin 2020-03-27 12:25:46 +00:00 committed by Joy Nelson
parent bf8ed831f8
commit cb7729c55d
1 changed files with 1 additions and 0 deletions

View File

@ -645,6 +645,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
}