Closed (fixed)
Project:
Workflow Required Fields
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Jun 2008 at 23:47 UTC
Updated:
13 May 2010 at 21:00 UTC
This breaks some fields like Content Taxonomy, whose first field value's index is the tid of the term.
wf_required_fields.inc checks values like this under wf_required_fields_get_missing_fields():
$value = $field[0][$column];
My suggestion is replace it with this code:
$first_field_element = array_shift($field);
$value = $first_field_element[$column];
Comments
Comment #1
deekayen commented