The if statement was backwards, and the array_splice was used wrong. Array splice returns the ones it removed, it automatically saves back to the array that it was given. So the original code was saving the ones that were suppose to be removed.
Attached is a patch that fixes it all.
| Comment | File | Size | Author |
|---|---|---|---|
| callouts.modules.max-randomize-correctly.patch | 444 bytes | Insanity5902 |
Comments
Comment #1
mikemiles86