Bug: this should not use t-shirt-0 every time!
I am not sure why this had t-shirt-0 repeated every time, but it can't possibly be right.
This commit is contained in:
parent
dc5f959259
commit
fece5bdb4a
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ close TEX_FILE;
|
|||
foreach my $id (sort keys %idsSent) {
|
||||
my $request;
|
||||
foreach my $type (qw/t-shirt-0 t-shirt-1/) {
|
||||
$request = $sp->getRequest({ donorId => $id, requestType => 't-shirt-0', ignoreFulfilledRequests => 1 });
|
||||
$request = $sp->getRequest({ donorId => $id, requestType => $type, ignoreFulfilledRequests => 1 });
|
||||
if (defined $request and defined $request->{requestType}) {
|
||||
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";
|
||||
|
|
Loading…
Reference in a new issue