aboutsummaryrefslogtreecommitdiff
path: root/views/default/river/object
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/river/object')
-rw-r--r--views/default/river/object/image/tag.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/views/default/river/object/image/tag.php b/views/default/river/object/image/tag.php
index cfe01e444..6e60d5af3 100644
--- a/views/default/river/object/image/tag.php
+++ b/views/default/river/object/image/tag.php
@@ -8,6 +8,9 @@
$title = "untitled";
}
+ // viewer may not have permission to view image
+ if (!$image)
+ return;
$image_url = "<a href=\"{$image->getURL()}\">{$title}</a>";