another small bugfix

This commit is contained in:
Manuel Simon Hirsig
2015-09-26 13:35:56 +02:00
parent 338fb9cb65
commit b3bf6579b1
+1 -1
View File
@@ -82,7 +82,7 @@ function Aux_AuctionsCreateAuctionButton_OnClick()
MoneyInputFrame_GetCopper(BuyoutPrice),
currentAuction.stackCount,
function(posted)
if posted > 0 then
if posted > 0 and buyoutPrice > 0 then
auxSellEntries[name] = auxSellEntries[name] or { created=GetTime() }
local entry
for _, existingEntry in ipairs(auxSellEntries[name]) do