Error when unsubscribing from a group when "revoke upon leaving group" checked

gpmburd - February 19, 2008 - 02:47
Project:OG Default Roles
Version:5.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:Josh Benner
Status:closed
Description

When I unsubscribe from a group which is set to revoke a role upon leaving group I get an error:

"Fatal error: Call to undefined function: array_diff_key() in /home/stpaulsa/drupal-5.7/sites/all/modules/og_default_roles/og_default_roles.module on line 139"

My site uses:

OG Defaul Roles 5.x-1.1
Organic Groups 5.x-5.0
Drupal 5.7
MySQL 4.1.22
PHP 4.4.4

#1

Josh Benner - February 20, 2008 - 17:09
Assigned to:Anonymous» Josh Benner

This is because array_diff_key was introduced in php 5.1. I'll refactor to not require this function.

#2

Josh Benner - February 22, 2008 - 14:00
Status:active» fixed

Dependence on array_diff_key() is removed in 1.2.

#3

Anonymous (not verified) - March 7, 2008 - 14:11
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.