summaryrefslogtreecommitdiff
path: root/modules/book.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/book.module')
-rw-r--r--modules/book.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/book.module b/modules/book.module
index 138b5e5a7..6e994c4a9 100644
--- a/modules/book.module
+++ b/modules/book.module
@@ -10,7 +10,7 @@ class Book {
}
function book_perm() {
- return array("maintain book structure");
+ return array("edit book");
}
function book_status() {
@@ -209,7 +209,7 @@ function book_tree($parent = "", $depth = 0) {
function book_admin() {
global $user;
- if (user_access($user, "maintain book structure")) {
+ if (user_access($user, "edit book")) {
print book_tree();
}
else {