Skip to content

Commit ee088b3

Browse files
committed
Fix svn pre-commit error.
1 parent b5534fe commit ee088b3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

woocommerce-sequential-order-numbers.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,8 @@ public function find_order_by_order_number( $order_number ) {
132132
'fields' => 'ids',
133133
);
134134

135-
list( $order_id ) = ! empty( $posts = get_posts( $query_args ) ) ? $posts : null;
135+
$posts = get_posts( $query_args );
136+
list( $order_id ) = ! empty( $posts ) ? $posts : null;
136137

137138
// order was found
138139
if ( $order_id !== null ) {

0 commit comments

Comments
 (0)