[2.7] Fix undefined variable notice
This commit is contained in:
parent
0479f4a127
commit
85f06d7d02
|
@ -442,7 +442,7 @@ class WC_AJAX {
|
|||
|
||||
if ( wc_is_order_status( 'wc-' . $status ) && $order ) {
|
||||
$order->update_status( $status, '', true );
|
||||
do_action( 'woocommerce_order_edit_status', $order_id, $status );
|
||||
do_action( 'woocommerce_order_edit_status', $order->get_id(), $status );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue