From: Roland Haeder Date: Sat, 8 Apr 2017 18:06:48 +0000 (+0200) Subject: more curly braces X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0319517f9443ecd0fc4e0192caa474f40bb38d69;p=friendica.git more curly braces Signed-off-by: Roland Haeder --- 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);