Форуми / Cotonti / Development / help with cotemplate

logical blocks

Trustmaster
#32353 30.12.2011 10:08

I confirm this is a CoTemplate bug. If you try

XML/XHTML
1
2
3
4
5
<!-- IF {MINIDIR_USERNAME} != "" -->
    <div id="mb_admin_user">
        {PHP.L.Username} : <b>{MINIDIR_USERNAME}</b>
    </div>
<!-- ENDIF -->

this works but if you put there AND condition, then != stops working.

May the Source be with you!