Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Secondary usergroup conditional
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #8
RE: Secondary usergroup conditional
(01-20-2013 12:54 PM)Gstone Wrote:  Just now tried it and it worked with 2 additional groups (with the default Registered still being primary).
It may work, or it may not.  I personally wouldn't trust it.

If you want to know details, PHP string to int comparisons work by typecasting the string to an int, meaning that if the first listed additional group is in the array you supply, it will match, but if it isn't, it never will match.

My Blog
01-20-2013 01:40 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Secondary usergroup conditional - Gstone - 01-18-2013, 04:48 PM
RE: Secondary usergroup conditional - ZiNgA BuRgA - 01-20-2013 01:40 PM

 Standard Tools
Forum Jump: