Line # | Revision | Author | |
---|---|---|---|
1 | 198 | ahitrov | <%init> |
2 | |||
3 | if ( grep { $_->{attr} eq 'type' } $user->structure ) { | ||
4 | return $user->type; | ||
5 | } else { | ||
6 | return 0; | ||
7 | } | ||
8 | |||
9 | </%init> |
Line # | Revision | Author | |
---|---|---|---|
1 | 198 | ahitrov | <%init> |
2 | |||
3 | if ( grep { $_->{attr} eq 'type' } $user->structure ) { | ||
4 | return $user->type; | ||
5 | } else { | ||
6 | return 0; | ||
7 | } | ||
8 | |||
9 | </%init> |