Fixed spelling on hash key.

This commit is contained in:
Bradley M. Kuhn 2016-01-02 10:35:05 -08:00
parent 2d52ce2cd1
commit 215ac05484

View file

@ -45,7 +45,7 @@ foreach my $id (sort keys %idsSent) {
foreach my $type (qw/t-shirt-0 t-shirt-1/) {
$request = $sp->getRequest({ donorId => $id, requestType => 't-shirt-0', ignoreFulfilledRequests => 1 });
if (defined $request and defined $request->{requestType}) {
if ($request->{requstConfiguration} ne $idsSent{$id}) {
if ($request->{requestConfiguration} ne $idsSent{$id}) {
my $out = "WARNING: not fufilling $id request for $request->{requstConfiguration} because we sent wrong size of $idsSent{$id}!\n";
print $out;
print STDERR $out;