Forum Discussion
NicoB
11 years agoLithium Alumni (Retired)
Hi,
can you try and replace this
<#assign boards = env.context.component.getParameter( 'boards' ) />
with this
<#assign boards = env.context.component.getParameter( 'boards' )!("") />
<#if !(boards?? && boards?has_content)>
<#assign boards = restadmin( '/categories/id/' + category.id + '/boards/style/forum/nested' ).boards />
</#if>
and see whether it fixes the issue?
Thanks,
Nico