• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

xen:contentcheck returns true for "<ul> </ul>"


Well-known member
Is this correct behavior? Or maybe this is a bug?

template returns "<ul> </ul>" when there are no threads to display.

Chris D

XenForo developer
Staff member
There isn't a contentcheck in place there. The template shouldn't be called at all if there are no threads. From the forum_list template:
<xen:if is="{$threads}">
    <div class="section threadList">
        <div class="secondaryContent">
            <h3><a href="{xen:link find-new/posts}">{xen:phrase new_posts}</a></h3>
            <xen:include template="sidebar_new_posts" />