Access rules trouble. Need to only allow access if both rules are true
I have been reading on the forums to try and find a solution. I thought my problem may have been that I had an extra line by accident in the groups manger, but I don't, I then checked to make sure that my sessions were be created correctly which they are. My problem is that I need to only allow access if both rules are true.
such as MemberProductID IN group 'All_IC'
AND ProgramPartID = 1
if either of these conditions are false I need access denied, but if they are both true then access is granted.
How would I be able to do this? I have included my HelpersGroupsRulesPHP.php file.
Many thanks as always for your help