From d09e06e19539d8541256e8bbba81b0dd47004fbc Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 3 May 2018 13:26:08 -0300 Subject: [PATCH] Bug 20120: force scalar context for CGI->param Signed-off-by: Nick Clemens Signed-off-by: Martin Renvoize --- members/paycollect.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/members/paycollect.pl b/members/paycollect.pl index 26ccc7bb19..0f98a9d3f1 100755 --- a/members/paycollect.pl +++ b/members/paycollect.pl @@ -183,7 +183,7 @@ borrower_add_additional_fields($borrower, $template); $template->param(%$borrower); if ( $input->param('error_over') ) { - $template->param( error_over => 1, total_due => $input->param('amountoutstanding') ); + $template->param( error_over => 1, total_due => scalar $input->param('amountoutstanding') ); } $template->param( -- 2.39.5