Forums / Cotonti / Development / help with cotemplate

logical blocks

Trustmaster
#32353 2011-12-30 10:08

I confirm this is a CoTemplate bug. If you try

<!-- 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!