//Set Staff groups if (in_array( 5 ,$groups)) $userrole = ROLE_ADMIN; if (in_array( 6 ,$groups)) $userrole = ROLE_ADMIN; if (in_array( 9 ,$groups)) $userrole = ROLE_ADMIN;