summaryrefslogtreecommitdiff
path: root/modules/tag
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tag')
-rw-r--r--modules/tag/controllers/tags.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/tag/controllers/tags.php b/modules/tag/controllers/tags.php
index f4f98090..b9f2c61c 100644
--- a/modules/tag/controllers/tags.php
+++ b/modules/tag/controllers/tags.php
@@ -44,7 +44,8 @@ class Tags_Controller extends REST_Controller {
public function _index() {
// Far from perfection, but at least require view permission for the root album
- access::required("view", 1);
+ $album = ORM::factory("item", 1);
+ access::required("view", $album);
print tag::cloud(30);
}