Quantcast

Bug fix

Scott Sibley [10-06-10 - 13:13]
Bug fix
Filename
Modules/Portrait/Portrait.lua
diff --git a/Modules/Portrait/Portrait.lua b/Modules/Portrait/Portrait.lua
index 72f9d9f..96711bb 100644
--- a/Modules/Portrait/Portrait.lua
+++ b/Modules/Portrait/Portrait.lua
@@ -117,7 +117,7 @@ function mod:SetUnit()
 		self.texture:Show()
 		self.model:Hide()
 	end
-	self.text:SetFormattedText('|T%s:%d|t %s', self.texture:GetTexture(), self.db.profile.size, self.text:GetText() or "") -- we only need a blank space for the texture
+	self.text:SetFormattedText('|T%s:%d|t %s', "", self.db.profile.size, self.text:GetText() or "") -- we only need a blank space for the texture
 end

 function mod:SetItem()