diff options
| author | Christian Fowler <spider@viovio.com> | 2007-03-22 04:51:19 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2007-03-22 04:51:19 +0000 |
| commit | f95cb2099a9f17e7166d096d422b6326895d27eb (patch) | |
| tree | 4df6cf2083a43edbd33649a23c9d030c5969eb8b /templates | |
| parent | 91e5774ec1a4ae6a32427a6dd9e41927cc9ba243 (diff) | |
| download | fisheye-f95cb2099a9f17e7166d096d422b6326895d27eb.tar.gz fisheye-f95cb2099a9f17e7166d096d422b6326895d27eb.tar.bz2 fisheye-f95cb2099a9f17e7166d096d422b6326895d27eb.zip | |
null gallery check for loose images
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/view_image.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/view_image.tpl b/templates/view_image.tpl index 4121e21..89ae40b 100644 --- a/templates/view_image.tpl +++ b/templates/view_image.tpl @@ -49,7 +49,7 @@ {include file="bitpackage:liberty/services_inc.tpl" serviceLocation='view' serviceHash=$gContent->mInfo} - {if $gGallery->getPreference('allow_comments') eq 'y'} + {if $gGallery && $gGallery->getPreference('allow_comments') eq 'y'} {include file="bitpackage:liberty/comments.tpl"} {/if} |
