From 32e2526706494200a7a8e45ae59a3170979a7a88 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 28 Nov 2019 22:40:59 +0100 Subject: [PATCH] Prevent system-type pages from being copied --- wcfsetup/install/files/acp/templates/pageAdd.tpl | 6 ++++-- wcfsetup/install/files/lib/acp/form/PageAddForm.class.php | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/pageAdd.tpl b/wcfsetup/install/files/acp/templates/pageAdd.tpl index 8e2aedf873..d7f4c53b97 100644 --- a/wcfsetup/install/files/acp/templates/pageAdd.tpl +++ b/wcfsetup/install/files/acp/templates/pageAdd.tpl @@ -50,7 +50,7 @@ {/if} }); -{else} +{elseif $page->pageType !== 'system'}