aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-09-19 03:30:59 -0700
committerFriendika <info@friendika.com>2011-09-19 03:30:59 -0700
commitfd18b42a5a4dfb212dac1272294a0934076183b7 (patch)
treed6cbdf3478d18a63831996abc933927e76fc0d9b /include
parent0a30a91b14c8887db668d74759953405f02d4e65 (diff)
downloadvolse-hubzilla-fd18b42a5a4dfb212dac1272294a0934076183b7.tar.gz
volse-hubzilla-fd18b42a5a4dfb212dac1272294a0934076183b7.tar.bz2
volse-hubzilla-fd18b42a5a4dfb212dac1272294a0934076183b7.zip
Check all keys before use
Diffstat (limited to 'include')
-rw-r--r--include/conversation.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 4398d6a5c..7cea54db5 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -485,6 +485,7 @@ function conversation(&$a, $items, $mode, $update) {
$tmp_item = replace_macros($template,array(
+ '$body' => $body,
'$id' => $item['item_id'],
'$linktitle' => sprintf( t('View %s\'s profile @ %s'), $profile_name, ((strlen($item['author-link'])) ? $item['author-link'] : $item['url'])),
'$olinktitle' => sprintf( t('View %s\'s profile @ %s'), $profile_name, ((strlen($item['owner-link'])) ? $item['owner-link'] : $item['url'])),
@@ -498,7 +499,6 @@ function conversation(&$a, $items, $mode, $update) {
'$osparkle' => $osparkle,
'$sparkle' => $sparkle,
'$title' => $item['title'],
- '$body' => $body,
'$ago' => ((($item['app']) && ($item['id'] == $item['parent'])) ? sprintf( t('%s from %s'),relative_date($item['created']),$item['app']) : relative_date($item['created'])),
'$lock' => $lock,
'$location' => $location,
@@ -514,6 +514,7 @@ function conversation(&$a, $items, $mode, $update) {
'$like' => $like,
'$dislike' => $dislike,
'$comment' => $comment
+
));