From d264a6be088a1d1507a5f94cde9810eaf787e72c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Thu, 15 Mar 2012 17:35:22 +0100 Subject: [PATCH] Fixed Permission Check --- acptemplate/chatRoomList.tpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/acptemplate/chatRoomList.tpl b/acptemplate/chatRoomList.tpl index 6f44c35..01f74d1 100644 --- a/acptemplate/chatRoomList.tpl +++ b/acptemplate/chatRoomList.tpl @@ -35,7 +35,11 @@ {foreach from=$objects item=chatRoom}
  • - {$chatRoom->title|language} + {if $__wcf->session->getPermission('admin.content.chat.canEditRoom')} + {$chatRoom->title|language} + {else} + {$chatRoom->title|language} + {/if} {if $__wcf->session->getPermission('admin.content.chat.canEditRoom')}