From a6a4b17cbf6359fecde5135727a59b1f7b54cd9f Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Sun, 25 Sep 2016 14:49:44 -0700 Subject: scalar cgi param --- httemplate/misc/process/timeworked.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'httemplate/misc/process/timeworked.html') diff --git a/httemplate/misc/process/timeworked.html b/httemplate/misc/process/timeworked.html index 01752e1b7..aaccf056e 100644 --- a/httemplate/misc/process/timeworked.html +++ b/httemplate/misc/process/timeworked.html @@ -18,7 +18,7 @@ foreach my $transaction ( map { /^transactionid(\d+)$/; $1; } grep /^transactionid\d+$/, $cgi->param ) { my $s = "multiplier${transaction}_"; - my %multipliers = map { /^$s(\d+)$/; $1 => $cgi->param("$s$1"); } + my %multipliers = map { /^$s(\d+)$/; $1 => scalar($cgi->param("$s$1")); } grep /^$s\d+$/, $cgi->param; my $msum = 0; foreach(values %multipliers) {$msum += $_}; -- cgit v1.2.1