Quote:
Originally Posted by rake
$groups = fetch_membergroupids_array($bbuserinfo);
if(in_array(6, $groups))
{
}
or, if you want to combine...
$groups = fetch_membergroupids_array($bbuserinfo);
if(in_array(6, $groups) OR $bbuserinfo['usergroupid'] == 6)
{
}
|
Hi, Rake! Thanks for replying! Out of curiosity, is there any reason to combine the two conditionals the way you did on your second example? Wouldn't the first one catch both Primary as well as Secondary groups?