Skip to content

Commit

Permalink
Set order id
Browse files Browse the repository at this point in the history
  • Loading branch information
Aunshon committed Sep 26, 2023
1 parent 6544d3b commit 88990ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Integrations/WcVendors/OrderMigrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class OrderMigrator extends OrderMigration {
* @param \WC_Order $order
*/
public function __construct( \WC_Order $order ) {
$this->order_id = $order->ID;
$this->order_id = $order->get_id();
$this->order = $order;
}

Expand Down

0 comments on commit 88990ac

Please sign in to comment.