Skip to content

Commit

Permalink
fix php cs
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhuesken committed Feb 6, 2025
1 parent 7c974e6 commit b7ad5f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function ( array $gateways ) use ( $c ) {
$cart_product = wc_get_product( $cart_item['product_id'] );
if ( isset( $cart_item['subscription_renewal']['subscription_id'] ) ) {
$subscription_renewal = wcs_get_subscription( $cart_item['subscription_renewal']['subscription_id'] );
if ($subscription_renewal && $subscription_renewal->get_meta( 'ppcp_subscription' ) ) {
if ( $subscription_renewal && $subscription_renewal->get_meta( 'ppcp_subscription' ) ) {
$pp_subscriptions_product = true;
break;
}
Expand Down

0 comments on commit b7ad5f7

Please sign in to comment.