foreach($include_staticArras$uid){// traversing list
// Get row:
$row=$groupRows[$uid];
if(is_array($row)&&!t3lib_div::inList($idList,$uid)){// Must be an array and $uid should not be in the idList, because then it is somewhere previously in the grouplist
// Include sub groups
if(trim($row['subgroup'])){
$theList=implode(',',t3lib_div::intExplode(',',$row['subgroup']));// Make integer list
tx_nG6_db::get_sub_groups($theList,$idList.','.$uid,$groups);// Call recursively, pass along list of already processed groups so they are not recursed again.
}
}
}
}
/**
* Return if the user is authorized or not to access the specified project and run