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
632c09e4
Commit
632c09e4
authored
Mar 25, 2007
by
Dries
Browse files
- Patch
#114745
by moonray: book module: can't remove top-level node.
parent
4d731dd3
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/book/book.module
View file @
632c09e4
...
...
@@ -267,7 +267,7 @@ function book_outline($node) {
);
$form
[
'nid'
]
=
array
(
'#type'
=>
'value'
,
'#value'
=>
$nid
);
if
(
$node
->
parent
)
{
if
(
isset
(
$node
->
parent
)
)
{
$form
[
'update'
]
=
array
(
'#type'
=>
'submit'
,
'#value'
=>
t
(
'Update book outline'
),
);
...
...
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