Correct hash lookup typo.

This commit is contained in:
Bradley M. Kuhn 2015-12-20 11:13:18 -08:00
parent 4ef9b9634a
commit b065293ce7

View file

@ -502,7 +502,7 @@ Returns the id value of the request entry.
sub addRequest($$) {
my($self, $params) = @_;
die "addRequest: undefined supporterId" unless defined $params->{supporterId};
my $supporterId = $params->supporterId;
my $supporterId = $params->{supporterId};
die "addRequest: supporterId, \"$supporterId\" not found in supporter database"
unless $self->_verifyId($supporterId);
$self->_beginWork;