fixup! Added PR feedback.

This commit is contained in:
Julià Mestieri 2020-08-31 08:28:30 +02:00
parent 12be6f3c96
commit b209b2bec3
1 changed files with 1 additions and 1 deletions

View File

@ -349,7 +349,7 @@ class WC_Customer_Data_Store extends WC_Data_Store_WP implements WC_Customer_Dat
update_user_meta( $customer->get_id(), '_last_order', $last_order );
}
if ( ! $last_order || '' === $last_order ) {
if ( ! $last_order ) {
return false;
}