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

CommentFileSizeAuthor
og_user_roles-all_blocked.patch703 bytesjohn morahan

Comments

somebodysysop’s picture

Could you explain a bit the conditions under which this warning occurs?

john morahan’s picture

Yeah.... 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.

somebodysysop’s picture

Assigned: Unassigned » somebodysysop
Status: Needs review » Closed (won't fix)

Because I don't understand the circumstances under which this occurs, I can't address it.