Closed (fixed)
Project:
Node displays contributions
Version:
6.x-2.x-dev
Component:
ND CCK
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jul 2010 at 07:35 UTC
Updated:
26 Jul 2010 at 21:20 UTC
line 161: isn't always an array
I suppose should be replaced by something like...
$classes = is_array($form_state['values'][$key][$build_mode]['css-class'])?implode(' ', $form_state['values'][$key][$build_mode]['css-class']):$form_state['values'][$key][$build_mode]['css-class'];
$class = (isset($form_values[$key][$build_mode]['css-class'])) ? $classes : '';
(don't know the code very well up to now, so no patch...)
Comments
Comment #1
swentel commentedHmm, can't reproduce this anymore with the latest code - might be a glitch between ds now sending an array of styles instead of a string ?
Can you do a re-test (with latest ds & nd_cck) and add following on line 160 (or somewhere around that)
Even de-selecting a style (if you have defined some of course) sends me an array here.
Comment #2
swentel commentedDid another few tests with all latest versions and really seems to be a glitch, no probs here.