Quote:
Originally Posted by squidsk
Looking at the code it appears that it will give the award to, in your case, anyone who's a member of a group with a 6 in its id (i.e. 6, 16, 26, etc).
The solution is to change line 62 of includes/cron/award_automation.php as follows:
From:
Code:
OR membergroupids LIKE '%".$usergroupAwardsArray[auto_criteria]."%'
To:
Code:
OR " . $usergroupAwardsArray[auto_criteria] . " IN (membergroupids)
Note: I haven't tried this out but it should work.
|
Lovely, that did the trick.. Thanks! I'd assume you would alter the code in the main file(s) in your first post as well? So other users won't be having the same issue.