From: Matthias Schmidt Date: Wed, 13 Jun 2012 19:10:09 +0000 (+0200) Subject: Fixes number of closing tags if list depth decreases X-Git-Tag: 2.0.0_Beta_1~1011^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a9ba6d7abbd8afa1d2b43e3fac737a7e41eed791;p=GitHub%2FWoltLab%2FWCF.git Fixes number of closing tags if list depth decreases --- 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}