View | Details | Raw Unified | Return to bug 25000
Collapse All | Expand All

(-)a/C4/Reports/Guided.pm (-1 / +1 lines)
Lines 645-650 sub update_sql { Link Here
645
    $report->report_subgroup($subgroup);
645
    $report->report_subgroup($subgroup);
646
    $report->cache_expiry($cache_expiry) if defined $cache_expiry;
646
    $report->cache_expiry($cache_expiry) if defined $cache_expiry;
647
    $report->public($public);
647
    $report->public($public);
648
    $report->store();
648
    if( $cache_expiry >= 2592000 ){
649
    if( $cache_expiry >= 2592000 ){
649
      die "Please specify a cache expiry less than 30 days\n"; # That's a bit harsh
650
      die "Please specify a cache expiry less than 30 days\n"; # That's a bit harsh
650
    }
651
    }
651
- 

Return to bug 25000