Administer > Organic Groups > Multiple mandatory groups by role > Available Groups: Attempting to delete an existing assignment fails with the following error report:
warning: Illegal offset type in unset in C:\Documents and Settings\TJS\My Documents\per\development\workspace-PER\AW\site\sites\all\modules\og_multiple_mandatory_groups_by_role\og_multiple_mandatory_groups_by_role.module on line 783.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | og_multiple_mandatory_groups_by_role.20090915.patch | 11.64 KB | tsaker |
Comments
Comment #1
tsaker commentedThe attached patch file fixes the delete issue and other minor issues as follows:
- Can't delete existing assignments
- Assignment process should report the user and group names instead of ID's
To apply the following patch:
- Place it in the module directory
- Shell and cd to the module directory
- Issue patch command: patch < og_multiple_mandatory_groups_by_role.20090915.patch
Comment #2
Steve Dondley commented+1 worked for me
Comment #3
bkat commentedWorks great for me on with php 5.3
Comment #4
rconstantine commentedLooks like my day job has brought me back to Drupal, and as it turns out I need this module. I'll be updating it with the contributed patches. One note on this patch that I see right away is that Drupal convention (unless they changed it) is to have a comma on the last item in an array, but this patch doesn't do that.
Anyway, I'm applying the patch to 6.x and marking this as fixed.
I'm not applying the following section though, since I don't see that it does anything.