Posted by janusman on June 25, 2008 at 11:47pm
Jump to:
| Project: | Workflow Required Fields |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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
#1
#2
Automatically closed -- issue fixed for 2 weeks with no activity.