From: Michael Date: Sat, 22 Sep 2018 14:17:14 +0000 (+0000) Subject: Issue 5760: Avoid a non numeric value for "tt" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c6268ca0b7c44e26e7a7a99e8d3435bfbe309b3e;p=friendica.git Issue 5760: Avoid a non numeric value for "tt" --- 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) {