Quantcast

Bug fix

Scott Sibley [10-02-10 - 19:34]
Bug fix
Filename
Modules/Portrait/Portrait.lua
diff --git a/Modules/Portrait/Portrait.lua b/Modules/Portrait/Portrait.lua
index 45135fb..b2ca40e 100644
--- a/Modules/Portrait/Portrait.lua
+++ b/Modules/Portrait/Portrait.lua
@@ -109,7 +109,7 @@ function mod:SetUnit()
 		self.texture:Show()
 		model:Hide()
 	end
-	self.text:SetFormattedText('|T%s:%d|t %s', self.texture:GetTexture(), self.db.profile.size, self.text:GetText())
+	self.text:SetFormattedText('|T%s:%d|t %s', "", self.db.profile.size, self.text:GetText()) -- we only need a blank space for the texture
 end

 function mod:OnHide()