summaryrefslogtreecommitdiff
path: root/modules/digibug/helpers/digibug_theme.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/digibug/helpers/digibug_theme.php')
-rw-r--r--modules/digibug/helpers/digibug_theme.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/digibug/helpers/digibug_theme.php b/modules/digibug/helpers/digibug_theme.php
index bd269256..a8e7e5b2 100644
--- a/modules/digibug/helpers/digibug_theme.php
+++ b/modules/digibug/helpers/digibug_theme.php
@@ -23,7 +23,8 @@ class digibug_theme_Core {
}
static function thumb_bottom($theme, $child) {
- if ($theme->page_type() == "album" && $child->type == "photo") {
+ if ($theme->page_type() == "album" && $child->type == "photo" &&
+ access::can("view_full", $child)) {
$v = new View("digibug_album.html");
$v->id = $child->id;
$v->title = t("Print photo with Digibug");