Add missing size.

This commit is contained in:
Bradley M. Kuhn 2015-12-06 15:46:30 -08:00
parent 63c51c4682
commit 98b62c7e97

View file

@ -30,7 +30,7 @@ my %tShirt0SizeRequestConfigurationIds;
my $sthInsertRequestConfiguration = $dbhNew->prepare("INSERT INTO request_configuration" . my $sthInsertRequestConfiguration = $dbhNew->prepare("INSERT INTO request_configuration" .
"(request_type_id, description) values(?, ?)"); "(request_type_id, description) values(?, ?)");
foreach my $requestTypeId (qw/$tShirt1RequestTypeId $tShirt0RequestTypeId/) { foreach my $requestTypeId (qw/$tShirt1RequestTypeId $tShirt0RequestTypeId/) {
foreach my $size (qw/LadiesS LadiesM LadiesL LadiesXL MenS MenM MenXL Men2XL/) { foreach my $size (qw/LadiesS LadiesM LadiesL LadiesXL MenS MenM MenL MenXL Men2XL/) {
$sthInsertRequestConfiguration->execute($requestTypeId, $size); $sthInsertRequestConfiguration->execute($requestTypeId, $size);
$tShirt0SizeRequestConfigurationIds{$size} = $dbhNew->last_insert_id("","","",""); $tShirt0SizeRequestConfigurationIds{$size} = $dbhNew->last_insert_id("","","","");
} }