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
309b4118
Commit
309b4118
authored
Sep 24, 2004
by
Dries
Browse files
- Modified patch
#10904
by JonathanS: fixed book teasers not being check_output'ed.
parent
f2984813
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/book.module
View file @
309b4118
...
...
@@ -588,7 +588,7 @@ function book_render() {
if
(
$node
)
{
// Take the most recent approved revision, extract the page and check output:
$node
=
book_content
(
$node
);
$node
=
book_content
(
$node
,
TRUE
);
// Output the content:
$output
.
=
'<div class="book">'
;
$output
.
=
'<div class="title">'
.
l
(
$node
->
title
,
'node/'
.
$node
->
nid
)
.
'</div>'
;
...
...
modules/book/book.module
View file @
309b4118
...
...
@@ -588,7 +588,7 @@ function book_render() {
if
(
$node
)
{
// Take the most recent approved revision, extract the page and check output:
$node
=
book_content
(
$node
);
$node
=
book_content
(
$node
,
TRUE
);
// Output the content:
$output
.
=
'<div class="book">'
;
$output
.
=
'<div class="title">'
.
l
(
$node
->
title
,
'node/'
.
$node
->
nid
)
.
'</div>'
;
...
...
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