• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.3 <xenif> $user question


I'm wondering if this code will work for secondary usergroups as well. For example, user is in usergroups 3,4,5 with 3 being the primary one.

<xen:if is="{$user.user_group_id} == 5">
Would that be true or false? If false, how could I change that to work with secondary groups?