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

snufkin’s picture

Status: Active » Fixed

it should be form state field info, but that is not an array when the field is just being created. fixed in cvs.

Status: Fixed » Closed (fixed)

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