Skip to content

Commit

Permalink
[Fix] Item price not set when price is blank
Browse files Browse the repository at this point in the history
  • Loading branch information
rh-id committed Oct 19, 2022
1 parent d64451b commit 4adf061
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,8 @@ public Date getItemExpiredDateTime() {
}

public void setItemPrice(BigDecimal price) {
if (price != null) {
Item item = getItem();
item.price = price;
}
Item item = getItem();
item.price = price;
}

public void setItemDescription(String s) {
Expand Down

0 comments on commit 4adf061

Please sign in to comment.