Commit 9031e412 authored by Dries's avatar Dries
Browse files

- Patch #707828 by nagba: typo in text module handling the summary generation.

parent 63802a09
......@@ -272,7 +272,7 @@ function text_field_formatter_view($object_type, $object, $field, $instance, $la
case 'text_trimmed':
foreach ($items as $delta => $item) {
$output = _text_sanitize($instance, $langcode, $item, 'value');
if ($display['type'] == 'text_trimemd') {
if ($display['type'] == 'text_trimmed') {
$output = text_summary($output, $instance['settings']['text_processing'] ? $item['format'] : NULL);
}
$element[$delta] = array('#markup' => $output);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment