From bb5c411fc25ee0ee7d1178499c7b043ba2c82fa6 Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Wed, 10 Feb 2016 06:25:30 +0100 Subject: [PATCH] small fix in history --- history.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/history.lua b/history.lua index 4c8d67c..a8d8d02 100644 --- a/history.lua +++ b/history.lua @@ -98,7 +98,7 @@ function private.market_value(item_record) estimate = item_record.daily_max_bid end - estimate = min(ceil(estimate * 1.15), item_record.daily_max_price) + estimate = estimate and min(ceil(estimate * 1.15), item_record.daily_max_price) return estimate end