What's wrong wth this? is_admin conditional stopped working?

RobParker

Well-known member
I'm just updating my templates and previously I had the following

Code:
      <xen:if is="{$debugMode}" AND {$visitor.is_admin}">
But re-adding that into the reverted template is throwing a syntax error.

Any ideas?

Edit: NM, got it :)
 

Mike

XenForo developer
Staff member
For anyone running into this, there's an extra double quote in the middle.
 
Reactions: rdn
Top