Fixed small issue
authorMarcel Werk <burntime@woltlab.com>
Thu, 28 Mar 2013 22:44:35 +0000 (23:44 +0100)
committerMarcel Werk <burntime@woltlab.com>
Thu, 28 Mar 2013 22:44:35 +0000 (23:44 +0100)
templates/conversationList.tpl

index cdd1eb275fdee66b818f56173f4def466e99db24..f6806afe1506a8975b25ef662df364a7cf3c282b 100644 (file)
                                                                <small class="conversationParticipantSummary">
                                                                        {assign var='participantSummaryCount' value=$conversation->getParticipantSummary()|count}
                                                                        {lang}wcf.conversation.participants{/lang}: {implode from=$conversation->getParticipantSummary() item=participant}<a href="{link controller='User' object=$participant}{/link}" class="userLink{if $participant->hideConversation == 2} conversationLeft{/if}" data-user-id="{@$participant->userID}">{$participant->username}</a>{/implode}
-                                                                       {if $participantSummaryCount < $conversation->participants - 1}{lang}wcf.conversation.participants.other{/lang}{/if}
+                                                                       {if $participantSummaryCount < $conversation->participants}{lang}wcf.conversation.participants.other{/lang}{/if}
                                                                </small>
                                                        {/if}
                                                </td>