Fixes missing adjustments of frontend categoryOptionList template
authorMatthias Schmidt <gravatronics@live.com>
Mon, 23 Jul 2012 13:18:19 +0000 (15:18 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Mon, 23 Jul 2012 13:18:19 +0000 (15:18 +0200)
com.woltlab.wcf/template/categoryOptionList.tpl

index 0d781021029a98afa77d8ba16aa4f72ddd22e96f..2e47acffa85686e7cfc45714f15ff206f4dde128 100644 (file)
@@ -1,5 +1,5 @@
 {foreach from=$categoryNodeList item=category}
        {if !$maximumNestingLevel|isset || $maximumNestingLevel == -2 || $categoryNodeList->getDepth() <= $maximumNestingLevel}
-               <option value="{$category->objectTypeCategoryID}"{if $categoryID|isset && $categoryID == $category->objectTypeCategoryID} selected="selected"{/if}>{section name=i loop=$categoryNodeList->getDepth()}&nbsp;&nbsp;&nbsp;&nbsp;{/section}{$category->getTitle()}</option>
+               <option value="{$category->categoryID}"{if $categoryID|isset && $categoryID == $category->categoryID} selected="selected"{/if}>{section name=i loop=$categoryNodeList->getDepth()}&nbsp;&nbsp;&nbsp;&nbsp;{/section}{$category->getTitle()}</option>
        {/if}
 {/foreach}
\ No newline at end of file