summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2013-04-12 15:40:14 -0400
committerspiderr <spider@viovio.com>2013-04-12 15:40:14 -0400
commit0ed6b47326e97871e5cf02a8a0ff1c3cc9be70fb (patch)
treecd6ceeb0819f044592ca0aa85dbe09e4c0ae9dc6 /templates
parent0afd5235fcf0c67d49d4d44941e2c5806006b6b6 (diff)
downloadliberty-0ed6b47326e97871e5cf02a8a0ff1c3cc9be70fb.tar.gz
liberty-0ed6b47326e97871e5cf02a8a0ff1c3cc9be70fb.tar.bz2
liberty-0ed6b47326e97871e5cf02a8a0ff1c3cc9be70fb.zip
fix comment display crashing - passed variable was quoted
Diffstat (limited to 'templates')
-rw-r--r--templates/comments.tpl2
-rw-r--r--templates/display_comment.tpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/comments.tpl b/templates/comments.tpl
index 7e5ca92..b2da2ed 100644
--- a/templates/comments.tpl
+++ b/templates/comments.tpl
@@ -20,7 +20,7 @@
<div id="comment_{$gContent->mContentId}"></div>
{foreach name=comments_loop key=key item=item from=$comments}
- {displaycomment comment="$item"}
+ {displaycomment comment=$item}
{/foreach}
<div id="comment_{$gContent->mContentId}_footer"></div>
diff --git a/templates/display_comment.tpl b/templates/display_comment.tpl
index 71317a4..013ddba 100644
--- a/templates/display_comment.tpl
+++ b/templates/display_comment.tpl
@@ -39,7 +39,7 @@
{if $comment.children}
<div id="comment_{$comment.content_id}_children">
{foreach key=key item=item from=$comment.children}
- {include file="bitpackage:liberty/display_comment.tpl" comment="$item"}
+ {include file="bitpackage:liberty/display_comment.tpl" comment=$item}
{/foreach}
</div>
{/if}