Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
224
Merge Requests
224
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
36c0e4d7
Commit
36c0e4d7
authored
Jan 15, 2004
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Bugfix: display the correct author. Patch by Nick.
parent
6fc8d944
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
modules/book.module
modules/book.module
+1
-1
modules/book/book.module
modules/book/book.module
+1
-1
No files found.
modules/book.module
View file @
36c0e4d7
...
...
@@ -124,7 +124,7 @@ function book_load($node) {
$book
=
db_fetch_object
(
db_query
(
"SELECT format, parent, weight, log FROM
{
book
}
WHERE nid = %d"
,
$node
->
nid
));
if
(
!
user_access
(
"administer nodes"
))
{
if
(
arg
(
1
)
==
'edit'
&&
!
user_access
(
"administer nodes"
))
{
/*
** If a user is about to update a book page, we overload some
** fields to reflect the changes.
...
...
modules/book/book.module
View file @
36c0e4d7
...
...
@@ -124,7 +124,7 @@ function book_load($node) {
$book
=
db_fetch_object
(
db_query
(
"SELECT format, parent, weight, log FROM
{
book
}
WHERE nid = %d"
,
$node
->
nid
));
if
(
!
user_access
(
"administer nodes"
))
{
if
(
arg
(
1
)
==
'edit'
&&
!
user_access
(
"administer nodes"
))
{
/*
** If a user is about to update a book page, we overload some
** fields to reflect the changes.
...
...
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