mirror of
https://github.com/Crazy-Crew/CrazyAuctions.git
synced 2024-11-24 12:15:38 +01:00
set top bid if below 0 to original top bid
This commit is contained in:
parent
4978f09521
commit
b9ba26c2bf
@ -105,7 +105,7 @@ public class AuctionItem {
|
||||
}
|
||||
|
||||
public void setTopBid(long topBid) {
|
||||
if (topBid <= 0L) topBid = 1L;
|
||||
if (topBid <= 0L) topBid = this.topBid;
|
||||
|
||||
this.topBid = topBid;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user