also reporting missing creation date as stale now

This commit is contained in:
Manuel Simon Hirsig
2015-09-12 01:36:51 +02:00
parent 1e549701ef
commit b09ad653c2
+1 -1
View File
@@ -121,7 +121,7 @@ function Aux_UpdateRecommendation()
AuxSellRefreshButton:Enable()
if selectedAuxEntry then
if auxSellEntries[currentAuctionItemName].created and GetTime() - auxSellEntries[currentAuctionItemName].created > 1800 then
if not auxSellEntries[currentAuctionItemName].created or GetTime() - auxSellEntries[currentAuctionItemName].created > 1800 then
AuxRecommendLastRefreshText:SetText("STALE DATA") -- data older than half an hour marked as stale
else
AuxRecommendLastRefreshText:SetText("")