Skip to content

Commit

Permalink
Merge branch 'master' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
hivepress committed Aug 20, 2024
2 parents ff59517 + 33858b5 commit 9baba8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/components/class-listing-package.php
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ public function update_order_status( $order_id, $old_status, $new_status, $order
]
);

if ( in_array( $new_status, [ 'processing', 'completed' ], true ) ) {
if ( in_array( $new_status, [ 'processing', 'completed' ], true ) && 'processing' !== $old_status ) {

// Get package IDs.
$package_ids = array_map(
Expand Down

0 comments on commit 9baba8b

Please sign in to comment.