Stupid nils

closes #10
This commit is contained in:
Tekkub 2009-08-29 19:10:16 -06:00
parent 973903969f
commit bf585475e7
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ local function Refresh()
row.backdrop:Show()
end
row:SetAlpha(searchstring and not name:lower():match(searchstring) and 0.5 or 1)
row:SetAlpha(searchstring and name and not name:lower():match(searchstring) and 0.5 or 1)
row.icon:SetTexture(itemTexture)
row.ItemName:SetText((numAvailable > -1 and ("["..numAvailable.."] ") or "").. color.. (name or "<Loading item data>").. (itemStackCount > 1 and ("|r x"..itemStackCount) or ""))