Commit e89c6c1d authored by Dries's avatar Dries

- Patch #93678 by chx: book module not updating the database properly.

parent e8e97f2b
......@@ -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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment