After installing OGURA I got the following error when I rebuilt content access permissions:
Parameter 2 to og_user_roles_access_og_access_grants_alter() expected to be a reference, value given in /var/www/html/drupal/includes/common.inc on line 2892.
The error apparently is due to cahnges in php 5.3. See http://drupal.org/node/600106.
I fixed it by changing og_user_role_access.module
function og_user_roles_access_og_access_grants_alter(&$grants, &$node) {
to
function og_user_roles_access_og_access_grants_alter(&$grants, $node) {
Comments
Comment #1
MaxF commentedI second the above opinion, rsbecker. Your patch works for me, as well. I attached it for convenience.
This is a security-critical bug, as it appears to leave some nodes open to unwanted roles, thus the promotion in Priority.
Comment #2
miro_dietikerI see no reason that this might be security related.
Comment #3
burgs commentedI've tested this, and it seems to solve the problem with drupal 6. If we could get this patch committed, that would be appreciated.
Thanks.
Comment #4
miro_dietikerFixed.