summaryrefslogtreecommitdiff
path: root/templates/view_image.tpl
diff options
context:
space:
mode:
authorLester Caine ext:(%22) <lester@lsces.co.uk>2012-04-17 20:14:46 +0100
committerLester Caine ext:(%22) <lester@lsces.co.uk>2012-04-17 20:14:46 +0100
commitdd166c9e97cfeb81a17af4fc6ee8b33561e84137 (patch)
treebaa49d41c4485d3423fe101cb2f088a14df4cadc /templates/view_image.tpl
parent4bc68cd7266fc026df1cea18ce8c4b94e4a94e21 (diff)
downloadfisheye-dd166c9e97cfeb81a17af4fc6ee8b33561e84137.tar.gz
fisheye-dd166c9e97cfeb81a17af4fc6ee8b33561e84137.tar.bz2
fisheye-dd166c9e97cfeb81a17af4fc6ee8b33561e84137.zip
Use isCommentable() function
Diffstat (limited to 'templates/view_image.tpl')
-rw-r--r--templates/view_image.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/view_image.tpl b/templates/view_image.tpl
index 0fd3fbc..87576c6 100644
--- a/templates/view_image.tpl
+++ b/templates/view_image.tpl
@@ -31,7 +31,7 @@
{include file="bitpackage:liberty/services_inc.tpl" serviceLocation='view' serviceHash=$gContent->mInfo}
- {if $gGallery && $gGallery->getPreference('allow_comments') eq 'y'}
+ {if $gGallery && $gGallery->isCommentable()}
{include file="bitpackage:liberty/comments.tpl"}
{/if}