- // Ensure there is only one primary / billing block
- // "There can be only one"
- if (!$primary_set && !empty($submitted_value['is_primary'])) {
- $submitted_value['is_primary'] = 1;
- $primary_set = TRUE;
+ // "There can be only one" primary / billing block
+ if (!$primarySet && !empty($submittedValue['is_primary'])) {
+ $submittedValue['is_primary'] = 1;
+ $primarySet = TRUE;