From 6bdf565b794d46174aaa2163e36959ecfe0bde70 Mon Sep 17 00:00:00 2001 From: Josef Moravec Date: Fri, 25 Sep 2015 13:54:40 +0200 Subject: [PATCH] [Signed-off] Bug 14898: After adding manual invoice redirect to pay tab instead of account MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Test plan: 1) Create manual invoice for any patron,note you are redirected to Account tab 2) Apply the patch 3) Create manual invoice for any patron, you should be redirected to Pay tab Works as expected. Signed-off-by: Marc VĂ©ron --- members/maninvoice.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/members/maninvoice.pl b/members/maninvoice.pl index 164b833..43f46aa 100755 --- a/members/maninvoice.pl +++ b/members/maninvoice.pl @@ -72,7 +72,7 @@ if ($add){ $template->param( 'ERROR' => $error ); output_html_with_http_headers $input, $cookie, $template->output; } else { - print $input->redirect("/cgi-bin/koha/members/boraccount.pl?borrowernumber=$borrowernumber"); + print $input->redirect("/cgi-bin/koha/members/pay.pl?borrowernumber=$borrowernumber"); exit; } } -- 1.7.10.4