Closed (fixed)
Project:
Organic Groups join limit
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
3 May 2010 at 04:26 UTC
Updated:
19 May 2010 at 18:20 UTC
In function og_limit_form_alter(&$form, $form_state, $form_id), we have the following line:
list($type, $form_name) = explode('_', $form_id, 2);
This will fail if the group type (which is used to create the form_id) includes an underscore (for example if the type is called "my_group").
There should be a better way to extract the information.
Comments
Comment #1
tamasd commentedFix in CVS.