diff options
-rw-r--r-- | modules/book/book.module | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/book/book.module b/modules/book/book.module index cf53e2f0a..a9e29326d 100644 --- a/modules/book/book.module +++ b/modules/book/book.module @@ -195,8 +195,7 @@ function book_submit(&$node) { // Set default values for non-administrators. if (!user_access('administer nodes')) { $node->revision = 1; - $book->uid = $user->uid; - $book->name = $user->uid ? $user->name : ''; + $node->uid = $user->uid; } } |