From 9d6df1355488fe9633feac4ae699fe23a0850284 Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Tue, 16 Feb 2010 16:30:00 +0100 Subject: [PATCH] (bug #4135) fix aqplan form This fix the form to have always the submit button, and fix security issue in aqplan.pl(authnotrequired set to 1) Conflicts solved: koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tmpl Signed-off-by: Galen Charlton --- admin/aqplan.pl | 4 ++-- koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tmpl | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/admin/aqplan.pl b/admin/aqplan.pl index a8771d451e..a324e25d0c 100755 --- a/admin/aqplan.pl +++ b/admin/aqplan.pl @@ -47,7 +47,7 @@ my ( $template, $borrowernumber, $cookie, $staff_flags ) = get_template_and_user { template_name => "admin/aqplan.tmpl", query => $input, type => "intranet", - authnotrequired => 1, + authnotrequired => 0, flagsrequired => { acquisition => 'planning_manage' }, debug => 1, } @@ -486,4 +486,4 @@ sub _print_to_csv { my $str = $csv->string; print "$str\n"; } -} \ No newline at end of file +} diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tmpl index 3660b0fb7c..37dc0c5650 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tmpl @@ -135,7 +135,6 @@ Budget & Fund Planning - @@ -146,7 +145,6 @@ Budget & Fund Planning - -- 2.39.5