Commit 3e98e0b0 authored by ROBERT PATRICK CAREY III's avatar ROBERT PATRICK CAREY III 🗿

Update user_preferences.module

parent 3e04985f
......@@ -48,7 +48,7 @@ function user_preferences_node_links_alter(array &$links, NodeInterface $node, a
$is_book = isset($node->book['bid']);
$can_add_child_page = $user->hasPermission('Add content and child pages to books and manage their hierarchies');
$can_add_child_page = $user->hasPermission('add content to books');
if ($context['view_mode'] == 'full' && node_is_page($node)) {
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