|
|
@@ -147,13 +147,13 @@ if($test->void_secondary) {
|
|
|
$total_data->blendedCounts["void"]++;
|
|
|
}
|
|
|
else if($test->challenge_stage === 5 || $test->void_primary) {
|
|
|
- $alcohol_pass = (bool) ($test_values->bar_age_verification ?? false);
|
|
|
- $av_key = $alcohol_pass ? "pass" : "fail";
|
|
|
+ $av_pass = (bool) ($test_values->bar_age_verification ?? false);
|
|
|
+ $av_key = $av_pass ? "pass" : "fail";
|
|
|
$data[$key]->barAgeVerificationCounts[$av_key]++;
|
|
|
$total_data->barAgeVerificationCounts[$av_key]++;
|
|
|
|
|
|
- $alcohol_purchased = (bool) ($test_values->alcohol_purchased ?? false);
|
|
|
- $alcohol_key = ($alcohol_purchased === false) ? "pass" : "fail";
|
|
|
+ $alcohol_pass = (bool) ($test_values->alcohol_purchased ?? false);
|
|
|
+ $alcohol_key = ($alcohol_pass === false) ? "pass" : "fail";
|
|
|
|
|
|
$data[$key]->barCounts[$alcohol_key]++;
|
|
|
$total_data->barCounts[$alcohol_key]++;
|