aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-09-26 16:20:36 -0700
committerredmatrix <mike@macgirvin.com>2016-09-26 16:20:36 -0700
commiteae9774cb6fd1c4205f5a63b608adf64495de750 (patch)
tree3958ecde7537834bdfe9b4337b0ba89a2339ef09
parent62229d0a49083be7e238a2511396031a0be03bd8 (diff)
downloadvolse-hubzilla-eae9774cb6fd1c4205f5a63b608adf64495de750.tar.gz
volse-hubzilla-eae9774cb6fd1c4205f5a63b608adf64495de750.tar.bz2
volse-hubzilla-eae9774cb6fd1c4205f5a63b608adf64495de750.zip
missing categories in preview mode
-rw-r--r--include/conversation.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/conversation.php b/include/conversation.php
index c6eb7c589..1cac60bf9 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -712,10 +712,8 @@ function conversation(&$a, $items, $mode, $update, $page_mode = 'traditional', $
'forged' => $forged,
'txt_cats' => t('Categories:'),
'txt_folders' => t('Filed under:'),
- 'has_cats' => ((count($categories)) ? 'true' : ''),
- 'has_folders' => ((count($folders)) ? 'true' : ''),
- 'categories' => $categories,
- 'folders' => $folders,
+ 'has_cats' => ((count($body['categories'])) ? 'true' : ''),
+ 'has_folders' => ((count($body['folders'])) ? 'true' : ''),
'text' => strip_tags($body['html']),
'ago' => relative_date($item['created']),
'app' => $item['app'],