diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-11-21 19:27:06 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-11-21 19:27:06 +0000 |
commit | e89c6c1da7604156a65a1f684b97fccecdd0d2e7 (patch) | |
tree | 1cd0318ad31cc8aa948f0af950301ebe8bf5cef3 /modules | |
parent | e8e97f2bbd4f219c75df34dff04327bb033cfb33 (diff) | |
download | brdo-e89c6c1da7604156a65a1f684b97fccecdd0d2e7.tar.gz brdo-e89c6c1da7604156a65a1f684b97fccecdd0d2e7.tar.bz2 |
- Patch #93678 by chx: book module not updating the database properly.
Diffstat (limited to 'modules')
-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; } } |