From 8c285179fd41b2eada074d359ff7dcd29ff85d9b Mon Sep 17 00:00:00 2001 From: Brian Read Date: Mon, 6 Oct 2025 20:06:18 +0100 Subject: [PATCH] Fix up params count --- Templates/controller.pm.tem | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Templates/controller.pm.tem b/Templates/controller.pm.tem index a1a3bd4..46a065e 100644 --- a/Templates/controller.pm.tem +++ b/Templates/controller.pm.tem @@ -136,7 +136,7 @@ sub do_update { my $params = ${ $c->req->params->to_hash }; # Get number of POST parameters - my $num_params = keys scaler %$params; + my $num_params = keys %params; #Params are available in the hash "params" - copy to the prefix_data hash while (my ($key, $value) = each %{$c->req->params->to_hash}) {