aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-12-14 22:10:56 +0100
committerMario Vavti <mario@mariovavti.com>2017-12-14 22:10:56 +0100
commita61c72b3b2076a5971eca47cda8aa067c03f9d6c (patch)
treef8ee52081242cb28f681c2ca934f65fcf1a42387 /include
parenta07b5ba4ddd0031000cb86b5c604b1f73ade8024 (diff)
downloadvolse-hubzilla-a61c72b3b2076a5971eca47cda8aa067c03f9d6c.tar.gz
volse-hubzilla-a61c72b3b2076a5971eca47cda8aa067c03f9d6c.tar.bz2
volse-hubzilla-a61c72b3b2076a5971eca47cda8aa067c03f9d6c.zip
fix some more PHP7.2 warnings
Diffstat (limited to 'include')
-rw-r--r--include/conversation.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/conversation.php b/include/conversation.php
index fc0942474..77694deb3 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -755,8 +755,8 @@ function conversation($items, $mode, $update, $page_mode = 'traditional', $prepa
'forged' => $forged,
'txt_cats' => t('Categories:'),
'txt_folders' => t('Filed under:'),
- 'has_cats' => ((count($body['categories'])) ? 'true' : ''),
- 'has_folders' => ((count($body['folders'])) ? 'true' : ''),
+ 'has_cats' => (($body['categories']) ? 'true' : ''),
+ 'has_folders' => (($body['folders']) ? 'true' : ''),
'text' => strip_tags($body['html']),
'ago' => relative_date($item['created']),
'app' => $item['app'],