From bc9646b79538b5a1b90489381ef206cba2c0bc6c Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Tue, 22 Mar 2016 21:40:19 +0100 Subject: [PATCH] bugfix --- post_frame.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post_frame.lua b/post_frame.lua index 67f89e2..c30858e 100644 --- a/post_frame.lua +++ b/post_frame.lua @@ -150,7 +150,7 @@ function private.update_auction_listing() { value=Aux.money.to_string(auction_record.unit_blizzard_bid, true, nil, 3, bid_color) }, { value=historical_value and Aux.auction_listing.percentage_historical(Aux.round(auction_record.unit_blizzard_bid / historical_value * 100)) or '---' }, { value=auction_record.unit_buyout_price > 0 and Aux.money.to_string(auction_record.unit_buyout_price, true, nil, 3, buyout_color) or '---' }, - { value=auction_record.unit_buyout_price and historical_value and Aux.auction_listing.percentage_historical(Aux.round(auction_record.unit_buyout_price / historical_value * 100)) or '---' }, + { value=auction_record.unit_buyout_price > 0 and historical_value and Aux.auction_listing.percentage_historical(Aux.round(auction_record.unit_buyout_price / historical_value * 100)) or '---' }, }, record = auction_record, })