- Patch #93678 by chx: book module not updating the database properly.
parent
e8e97f2bbd
commit
e89c6c1da7
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue