filter display bugfix

This commit is contained in:
Manuel Simon Hirsig
2016-08-02 07:16:33 +02:00
parent 77811ceace
commit bffc2e8e0b
2 changed files with 7 additions and 6 deletions
+6 -5
View File
@@ -568,11 +568,12 @@ function public.indented_post_query_string(components)
if component[3] then
str = str..': '..'|cffff9218'..component[3]..'|r'
end
local top = tremove(stack)
if tonumber(top) and top > 1 then
tinsert(stack, top - 1)
elseif top == '*' then
tinsert(stack, top)
while getn(stack) > 0 and stack[getn(stack)] ~= '*' do
local top = tremove(stack)
if tonumber(top) and top > 1 then
tinsert(stack, top - 1)
break
end
end
end
end