Apply absint to the batch in DataSynchronizer::process_batch

This commit is contained in:
Nestor Soriano 2023-06-23 16:37:35 +02:00
parent ae1e340ae6
commit c59b8cefad
No known key found for this signature in database
GPG Key ID: 08110F3518C12CAD
1 changed files with 2 additions and 0 deletions

View File

@ -398,6 +398,8 @@ ORDER BY orders.id ASC
return;
}
$batch = array_map( 'absint', $batch );
$this->order_cache_controller->temporarily_disable_orders_cache_usage();
$custom_orders_table_is_authoritative = $this->custom_orders_table_is_authoritative();