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 |
Jump to:
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
This is because array_diff_key was introduced in php 5.1. I'll refactor to not require this function.
#2
Dependence on array_diff_key() is removed in 1.2.
#3
Automatically closed -- issue fixed for two weeks with no activity.