diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-12-14 22:10:56 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-12-14 22:11:17 +0100 |
commit | 814dfcd4ac50a8e0c09bc944f3605eb04e12f9b9 (patch) | |
tree | f362c92a2bf8f84d5df50318dbbf7d3e3aca0955 | |
parent | 48be6ad5c4911286e10895a85a405b81f36b222b (diff) | |
download | volse-hubzilla-814dfcd4ac50a8e0c09bc944f3605eb04e12f9b9.tar.gz volse-hubzilla-814dfcd4ac50a8e0c09bc944f3605eb04e12f9b9.tar.bz2 volse-hubzilla-814dfcd4ac50a8e0c09bc944f3605eb04e12f9b9.zip |
fix some more PHP7.2 warnings
-rw-r--r-- | include/conversation.php | 4 |
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'], |