matthusby / brewcompetitiononlineentry

Automatically exported from code.google.com/p/brewcompetitiononlineentry
0 stars 0 forks source link

Bottle labels for mead do not print #424

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Print bottle labels (any)
2.
3.

What is the expected output? What do you see instead?

I should get printed labels for styles 24A, 24B and 24C, but it jumps from 23 
to 25.

What version of the product are you using? On what operating system?

1.3.0.4 / Linux

Please provide any additional information below.

The array $special_ingredients does not include styles 24A, 24B and 24C. The 
only way to get mead labels printed is getting into the check "if 
(in_array($style,$special_ingredients))" for both entries/bottle-entry/special 
and entries/bottle-judging/special. If those sub-styles are not listed on 
$special_ingredients then they are never going to be printed.

Adding 24A, 24B and 24C to the array seems to fix it.

Original issue reported on code.google.com by hades.hi...@gmail.com on 17 Jun 2014 at 3:49