From 04ee9fcf3ddcede13b44d7e2e3af01c91221e407 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Mon, 3 Dec 2018 19:03:42 +0100 Subject: [PATCH] Add missing immutability check in radio button form field template See #2509 --- com.woltlab.wcf/templates/__radioButtonFormField.tpl | 10 +++++++++- .../files/acp/templates/__radioButtonFormField.tpl | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/com.woltlab.wcf/templates/__radioButtonFormField.tpl b/com.woltlab.wcf/templates/__radioButtonFormField.tpl index 0a8b7011d4..1fb80cba9d 100644 --- a/com.woltlab.wcf/templates/__radioButtonFormField.tpl +++ b/com.woltlab.wcf/templates/__radioButtonFormField.tpl @@ -1,7 +1,15 @@ {include file='__formFieldHeader'} {foreach from=$field->getOptions() key=$__fieldValue item=__fieldLabel} - + {/foreach} {include file='__formFieldFooter'} diff --git a/wcfsetup/install/files/acp/templates/__radioButtonFormField.tpl b/wcfsetup/install/files/acp/templates/__radioButtonFormField.tpl index 0a8b7011d4..1fb80cba9d 100644 --- a/wcfsetup/install/files/acp/templates/__radioButtonFormField.tpl +++ b/wcfsetup/install/files/acp/templates/__radioButtonFormField.tpl @@ -1,7 +1,15 @@ {include file='__formFieldHeader'} {foreach from=$field->getOptions() key=$__fieldValue item=__fieldLabel} - + {/foreach} {include file='__formFieldFooter'} -- 2.20.1