type list variable should be used for loop.
This commit is contained in:
parent
96c04d988e
commit
693a844212
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ if ($T_SHIRT_STYLE == 0) {
|
|||
|
||||
foreach my $id (sort { sortFunction($a, $b); } @supporterIds) {
|
||||
my $sizeNeeded;
|
||||
foreach my $type (qw/t-shirt-0 t-shirt-1/) {
|
||||
foreach my $type (@typeList) {
|
||||
my $request = $sp->getRequest({ donorId => $id, requestType => $type,
|
||||
ignoreHeldRequests => 1, ignoreFulfilledRequests => 1 });
|
||||
if (defined $request and defined $request->{requestType}) {
|
||||
|
|
Loading…
Reference in a new issue