Ques/Help IF a question thread has a solution...

N

Nicolas FR

Guest
I try to display content with this conditional statement:
HTML:

Code:
<xf:if is="$thread.discussion_type == 'question' && $thread.type_data.solution_post_id != 'null'">
    NO SOLUTION
<xf:else />
    SOLUTION
</xf:if>
But it does not matter if the thread has a solution or not it displays the SOLUTION content, where is my error?
Thanks!

Continue reading...