on og/users/$nid/roles:
warning: Invalid argument supplied for foreach() in /.../modules/og_user_roles/og_user_roles.module on line 507.
here's a patch, in case anyone feels it's worth bothering to fix
| Comment | File | Size | Author |
|---|---|---|---|
| og_user_roles-all_blocked.patch | 703 bytes | john morahan |
Comments
Comment #1
somebodysysop commentedCould you explain a bit the conditions under which this warning occurs?
Comment #2
john morahan commentedYeah.... it's a bit of an edge case, I know. Feel free to won't fix it. As uid 1, I had blocked all the users in a group (including the group founder) and then I tried to assign OG roles to them. All part of an esoteric data import exercise. As I said - edge case.
Comment #3
somebodysysop commentedBecause I don't understand the circumstances under which this occurs, I can't address it.