diff --git a/includes/ProductSets/Sync.php b/includes/ProductSets/Sync.php index 42a8488f8..e72d35d20 100644 --- a/includes/ProductSets/Sync.php +++ b/includes/ProductSets/Sync.php @@ -1,5 +1,4 @@ get_results( $sql ); + $variation_ids = $wpdb->get_results( $sql ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared if ( ! empty( $variation_ids ) ) { // product_variations: add retailer id to the products filter