From a758f6266263c6f70cb828eae642f7920a0bde58 Mon Sep 17 00:00:00 2001 From: David Evbodaghe Date: Wed, 23 Apr 2025 14:43:13 +0100 Subject: [PATCH] Remove type cast for GPC --- includes/fbproduct.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/fbproduct.php b/includes/fbproduct.php index bb5a4720f..a0e5638a9 100644 --- a/includes/fbproduct.php +++ b/includes/fbproduct.php @@ -1368,7 +1368,7 @@ public function prepare_product( $retailer_id = null, $type_to_prepare_for = sel $google_product_category = Products::get_google_product_category_id( $this->woo_product ); if ( $google_product_category ) { - $product_data['google_product_category'] = (int) $google_product_category; + $product_data['google_product_category'] = $google_product_category; } // Currently only items batch and feed support enhanced catalog fields