Skip to content

Commit

Permalink
fix: use correct object
Browse files Browse the repository at this point in the history
  • Loading branch information
leogermani committed Oct 15, 2024
1 parent 0c76a96 commit add5741
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/data-events/class-utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ public static function get_order_data( $order_id, $process_donations_only = fals
'product_id' => $product_id,
'client_id' => $order->get_meta( NEWSPACK_CLIENT_ID_COOKIE_NAME ),
],
'user_first_name' => $subscription->get_billing_first_name(),
'user_last_name' => $subscription->get_billing_last_name(),
'user_first_name' => $order->get_billing_first_name(),
'user_last_name' => $order->get_billing_last_name(),
];
}

Expand Down

0 comments on commit add5741

Please sign in to comment.