Fix up params count
This commit is contained in:
@@ -136,7 +136,7 @@ sub do_update {
|
|||||||
my $params = ${ $c->req->params->to_hash };
|
my $params = ${ $c->req->params->to_hash };
|
||||||
|
|
||||||
# Get number of POST parameters
|
# 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
|
#Params are available in the hash "params" - copy to the prefix_data hash
|
||||||
while (my ($key, $value) = each %{$c->req->params->to_hash}) {
|
while (my ($key, $value) = each %{$c->req->params->to_hash}) {
|
||||||
|
Reference in New Issue
Block a user