diff --git a/reports/guided_reports.pl b/reports/guided_reports.pl index 0ea7101af0..caf084790d 100755 --- a/reports/guided_reports.pl +++ b/reports/guided_reports.pl @@ -225,10 +225,12 @@ elsif ( $op eq 'cud-update_sql' || $op eq 'cud-update_and_run_sql' ){ public => $public, cache_expiry => $cache_expiry, } ); - my $editsql = 1; - if ($op eq 'cud-update_and_run_sql') { - $editsql = 0; - } + + my $editsql = 1; + if ( $op eq 'cud-update_and_run_sql' ) { + $editsql = 0; + } + $template->param( 'save_successful' => 1, 'reportname' => $reportname,