From c6268ca0b7c44e26e7a7a99e8d3435bfbe309b3e Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 22 Sep 2018 14:17:14 +0000 Subject: [PATCH] Issue 5760: Avoid a non numeric value for "tt" --- include/conversation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/conversation.php b/include/conversation.php index 45e5d1caa3..e41b697b54 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -1454,7 +1454,7 @@ function get_responses(array $conv_responses, array $response_verbs, $ob, array $ret = []; foreach ($response_verbs as $v) { $ret[$v] = []; - $ret[$v]['count'] = defaults($conv_responses[$v], $item['uri'], ''); + $ret[$v]['count'] = defaults($conv_responses[$v], $item['uri'], 0); $ret[$v]['list'] = defaults($conv_responses[$v], $item['uri'] . '-l', []); $ret[$v]['self'] = defaults($conv_responses[$v], $item['uri'] . '-self', '0'); if (count($ret[$v]['list']) > MAX_LIKERS) { -- 2.39.5