From 0319517f9443ecd0fc4e0192caa474f40bb38d69 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sat, 8 Apr 2017 20:06:48 +0200 Subject: [PATCH] more curly braces Signed-off-by: Roland Haeder --- include/conversation.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/conversation.php b/include/conversation.php index 888c0b58bf..a737c98c5f 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -1155,8 +1155,9 @@ function format_like($cnt, array $arr, $type, $id) { if ($cnt > 1) { $total = count($arr); - if ($total >= MAX_LIKERS) + if ($total >= MAX_LIKERS) { $arr = array_slice($arr, 0, MAX_LIKERS - 1); + } if ($total < MAX_LIKERS) { $last = t('and') . ' ' . $arr[count($arr)-1]; $arr2 = array_slice($arr, 0, -1); -- 2.39.5