Syntax fix
p3lim-52096 [04-19-09 - 23:05]
Syntax fix
git-svn-id: svn://svn.wowinterface.com/oUF_P3lim-52/trunk@74 8c7459ed-49dc-4bc8-85d7-b6381a8f5413
diff --git a/oUF_P3lim/oUF_P3lim.lua b/oUF_P3lim/oUF_P3lim.lua
index c099d79..383caf0 100644
--- a/oUF_P3lim/oUF_P3lim.lua
+++ b/oUF_P3lim/oUF_P3lim.lua
@@ -164,7 +164,7 @@ end
local function updateBuff(self, icons, unit, icon, index)
local _, _, _, _, _, duration, expiration = UnitAura(unit, index, icon.filter)
- if(duration < 60 expiration and expiration > 0) then
+ if(duration < 60 and expiration and expiration > 0) then
icon.expiration = expiration
icon:SetScript('OnUpdate', updateTime)
icon:Show()