From a9ba6d7abbd8afa1d2b43e3fac737a7e41eed791 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Wed, 13 Jun 2012 21:10:09 +0200 Subject: [PATCH] Fixes number of closing tags if list depth decreases --- wcfsetup/install/files/acp/templates/categoryList.tpl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/categoryList.tpl b/wcfsetup/install/files/acp/templates/categoryList.tpl index b5b8b5bfc1..2feda30ce8 100644 --- a/wcfsetup/install/files/acp/templates/categoryList.tpl +++ b/wcfsetup/install/files/acp/templates/categoryList.tpl @@ -55,9 +55,7 @@
    {assign var=oldDepth value=0} {foreach from=$categoryNodeList item=category} - {if $categoryNodeList->getDepth() < $oldDepth} -
- {/if} + {section name=i loop=$oldDepth-$categoryNodeList->getDepth()}{/section}
  • -- 2.20.1