CCK fields printing array

sammos - May 16, 2008 - 21:25
Project:Mail Editor
Version:5.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

Hello,
I've tried using CCK fields and I'm getting an array of all CCK values up to a certain point instead of just the data in the appropriate field.

When I use:
!ccklabel_field_first_name_0: !cckvalue1_field_first_name_0
!ccklabel_field_last_name_0: !cckvalue1_field_last_name_0

when the mail sends it is an array of all previous content types plus whatever it is

First Name: Array, MyFirst
Last Name: Array, MyFirst, Array, mylast

and so on for all the cck fields i added (like 20)

I tried appending [0] and ['value'] but that did not do the trick.
I set this to critical because it seems like it will be a very popular need

thanks for a great module!

#1

salvis - May 18, 2008 - 15:46
Priority:critical» normal
Status:active» duplicate

Fixed in Subscriptions — #259551: CCK fields printing array.

 
 

Drupal is a registered trademark of Dries Buytaert.