How many groups do you have in total?
Hi Rick,
We have 17 groups and likely to have 20 or so in the next few months. Is it not a question of just removing the following couple of lines?
if ($group > 4) {
$group = $grouparray[$group];
}
This would allow the groupIDs greater than 4 to simply be passed through and prevent the PK clashes. This may be a bit simplistic and I appreciate there may be other issues in play here!
Regards,
- Paul