Unwittingly I used a string as the role I wanted to grant, instead of an array and got a foreach error. Some suggestions:
* Check for non-arrays if you are going to be doing a foreach
* Support a string
* Provide a default type in the function definition
* Better documentation
Thanks for the great module.
Comments
Comment #1
ebeyrent commentedUgh, that's embarrassing. You're absolutely correct - there needs to be better error checking.
Thanks for the feedback!
Comment #2
ebeyrent commentedFixed in the 2.6 release