summaryrefslogtreecommitdiff
path: root/modules/archive/archive.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-07-01 21:45:25 +0000
committerDries Buytaert <dries@buytaert.net>2003-07-01 21:45:25 +0000
commit7997ebb9820f0fe6cd8220aefb9365d29c6ee426 (patch)
treefb7b0fa862eef41bdafaf41ccb495d9886793daa /modules/archive/archive.module
parentdc15ba06e05df99885d0024b2fc9173291e79038 (diff)
downloadbrdo-7997ebb9820f0fe6cd8220aefb9365d29c6ee426.tar.gz
brdo-7997ebb9820f0fe6cd8220aefb9365d29c6ee426.tar.bz2
- Bugfix: added more permissions checks. Patches #60-62 by Al. Should fix
bug #2163 and #2164.
Diffstat (limited to 'modules/archive/archive.module')
-rw-r--r--modules/archive/archive.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/archive/archive.module b/modules/archive/archive.module
index c29546da3..1afd48cc1 100644
--- a/modules/archive/archive.module
+++ b/modules/archive/archive.module
@@ -161,7 +161,7 @@ function archive_block($op = "list", $delta = 0) {
$blocks[0]["info"] = t("Calendar to browse archives");
return $blocks;
}
- else {
+ else if (user_access("access content")) {
switch ($delta) {
case 0:
$block["subject"] = t("Browse archives");