Closed (fixed)
Project:
Fancy references
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Nov 2010 at 13:06 UTC
Updated:
8 Mar 2011 at 15:01 UTC
I found a simple bug in line 44.
function fancy_references_settings_form_submit($form, &$form_state) {
+ foreach ($form['#field_info'] as $field_name => $field) {
- foreach ($form_state['#field_info'] as $field_name => $field) {
variable_set('fancy_references_' . $field_name . '_pattern', $form_state['values']['fancy_references']['pattern']);
variable_set('fancy_references_' . $field_name . '_link', $form_state['values']['fancy_references']['link']);
}
}
but once fixed the bug, this module does not work, someone managed to make it work?
Comments
Comment #1
snufkin commentedit should be form state field info, but that is not an array when the field is just being created. fixed in cvs.