Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
9031e412
Commit
9031e412
authored
Feb 08, 2010
by
Dries
Browse files
- Patch
#707828
by nagba: typo in text module handling the summary generation.
parent
63802a09
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/field/modules/text/text.module
View file @
9031e412
...
...
@@ -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_trim
e
md'
)
{
if
(
$display
[
'type'
]
==
'text_trimm
e
d'
)
{
$output
=
text_summary
(
$output
,
$instance
[
'settings'
][
'text_processing'
]
?
$item
[
'format'
]
:
NULL
);
}
$element
[
$delta
]
=
array
(
'#markup'
=>
$output
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment