Starting with a basic text formatter...

<p class="teaser">[formatted]</p>

converting to advanced produces...

$code = "<p class=\"teaser\">[formatted]</p>";

// Parse tokens.
return _custom_formatters_token_replace((object) array('code' => $code, 'field_types' => $element['#formatter']->field_types), $element);

which causes the following error when viewing a node using this formatter (via Node Displays).

warning: implode() [function.implode]: Argument to implode must be an array. in custom_formatters/custom_formatters.module on line 452.

Comments

deciphered’s picture

Status: Active » Fixed

Fix committed to dev, stable out in the next few days.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.