summaryrefslogtreecommitdiff
path: root/modules/book/book.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-06-21 21:35:03 +0000
committerDries Buytaert <dries@buytaert.net>2001-06-21 21:35:03 +0000
commit6d107b084ca28e4ddbe431e541cdd1e0617a72af (patch)
treea238487d2403d8426adbadade3984f6356053b4d /modules/book/book.module
parent7c34f8f4cf526e6053e4c9d2e5265e2b4b0ec23b (diff)
downloadbrdo-6d107b084ca28e4ddbe431e541cdd1e0617a72af.tar.gz
brdo-6d107b084ca28e4ddbe431e541cdd1e0617a72af.tar.bz2
- Fixed bug in account.module (reported by Gerhard and Kristjan).
- Incorporated some of the suggestions. More to come.
Diffstat (limited to 'modules/book/book.module')
-rw-r--r--modules/book/book.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/book/book.module b/modules/book/book.module
index 138b5e5a7..6e994c4a9 100644
--- a/modules/book/book.module
+++ b/modules/book/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 {