From f506903414eba95304fb830692132997cfb8311b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joshua=20R=C3=BCsweg?= Date: Tue, 31 Jan 2017 12:56:51 +0100 Subject: [PATCH] fix boxAdd if the administrator hasn't the permission to use media --- .../install/files/acp/templates/boxAdd.tpl | 74 +++++++++---------- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/boxAdd.tpl b/wcfsetup/install/files/acp/templates/boxAdd.tpl index 5cca3ea98f..f0fb7385a3 100644 --- a/wcfsetup/install/files/acp/templates/boxAdd.tpl +++ b/wcfsetup/install/files/acp/templates/boxAdd.tpl @@ -1,47 +1,47 @@ {include file='header' pageTitle='wcf.acp.box.'|concat:$action} -{if $__wcf->session->getPermission('admin.content.cms.canUseMedia')} - -{/if} + {/if} + }); +
-- 2.20.1