Closed (duplicate)
Project:
Token
Version:
5.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Feb 2007 at 03:42 UTC
Updated:
17 Feb 2007 at 18:54 UTC
won't work with Select CCK fields, returns nothing.
Comments
Comment #1
Taz commentedI followed it through and found that it's more of an issue with CCK or Token. The select field in the node array has a ['key'] rather than [0], which can be seen in the below hack. This either needs to be addressed in token so it can work out if it's a select field ($node->$field['field_type']) is both text for drop down boxes as well as normal input fields)
Below is the temporary fix that works without being site or field_name specific. So far hasn't broken anything else.
Comment #2
fagorecategorized to token module.
please have a look at how to create a patch
Comment #3
eaton commented