From 0e4c0fc5462386354cdd2c8920be2946f702b98c Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Thu, 20 Aug 2009 00:44:53 +0000 Subject: added check to make sure we have permissions to view the image --- views/default/river/object/image/tag.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'views/default/river') 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 = "getURL()}\">{$title}"; -- cgit v1.2.3