[2.7] Fix undefined variable notice

This commit is contained in:
Beka Rice 2017-01-03 18:08:37 -05:00
parent 0479f4a127
commit 85f06d7d02
1 changed files with 1 additions and 1 deletions

View File

@ -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 );
}
}