From: Chris Cormack Date: Mon, 29 Oct 2007 18:22:57 +0000 (-0500) Subject: Updating guided_reports.pl X-Git-Tag: v3.00.00-alpha~1234 X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=commitdiff_plain;h=14a8fcba8a7a43823698b5c165ea619bac6a200a;p=srvgit Updating guided_reports.pl Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- 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' ) {