From 14a8fcba8a7a43823698b5c165ea619bac6a200a Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Mon, 29 Oct 2007 13:22:57 -0500 Subject: [PATCH] Updating guided_reports.pl Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- reports/guided_reports.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/reports/guided_reports.pl b/reports/guided_reports.pl index 861c67f6e1..dc19c0a078 100755 --- a/reports/guided_reports.pl +++ b/reports/guided_reports.pl @@ -304,7 +304,7 @@ elsif ( $phase eq 'Save' ) { my $sql = $input->param('sql'); my $type = $input->param('type'); $template->param( - 'save' => 1, + 'save_successful' => 1, 'sql' => $sql, 'type' => $type ); @@ -317,6 +317,9 @@ elsif ( $phase eq 'Save Report' ) { my $type = $input->param('type'); my $notes = $input->param('notes'); save_report( $sql, $name, $type, $notes ); + $template->param( + 'save_successful' => 1, + ); } elsif ( $phase eq 'Execute' ) { -- 2.39.5