| @@ -521,10 +521,12 @@ | ||
| 521 | 521 | $ajx_data_arr['ajx_after_action_message_status'] = 'warning'; |
| 522 | 522 | return array( 'ajx_data' => $ajx_data_arr ); |
| 523 | 523 | } |
| 524 | 524 | |
| 525 | - $has_verified_classic_context = true; | |
| 525 | + $has_verified_classic_context = true; | |
| 526 | 526 | $re_cleaned_params['allow_past'] = ! empty( $classic_context['allow_past'] ) ? 1 : 0; |
| 527 | + // Pass only the signed canonical set into final availability and persistence decisions. | |
| 528 | + $re_cleaned_params['aggregate_resource_id_arr'] = implode( ',', $classic_context['aggregate_resource_ids'] ); | |
| 527 | 529 | } |
| 528 | 530 | |
| 529 | 531 | if ( $is_public_booking_create_request && ! $has_verified_classic_context ) { |
| 530 | 532 | $ajx_data_arr['status'] = 'error'; |