diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2001-07-08 21:06:36 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2001-07-08 21:06:36 +0000 |
commit | 9ae0dff61f922e0b100b6ee6fd065e4193c5c904 (patch) | |
tree | c62fafef58e4153f65f057b96c34558f1f82261d | |
parent | b765109651bbfaf8aaf8ac9b198e925857e30e7f (diff) | |
download | brdo-9ae0dff61f922e0b100b6ee6fd065e4193c5c904.tar.gz brdo-9ae0dff61f922e0b100b6ee6fd065e4193c5c904.tar.bz2 |
Typo in a permission check: diary admin interface was not available for admins with userid != 1.
-rw-r--r-- | modules/diary.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/diary.module b/modules/diary.module index 6008c344f..9a39c1c7c 100644 --- a/modules/diary.module +++ b/modules/diary.module @@ -213,7 +213,7 @@ function diary_help() { function diary_link($type) { - if ($type == "admin" && user_access("adminsiter diary entries")) { + if ($type == "admin" && user_access("administer diary entries")) { $links[] = "<a href=\"admin.php?mod=diary\">online diaries</a>"; } @@ -359,4 +359,4 @@ function diary_admin() { } } -?>
\ No newline at end of file +?> |