From a7b07870f2685775a95a2a438b9a9deac89e37ca Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sun, 14 Apr 2019 16:34:24 +0200 Subject: [PATCH] Make object edited via form builder available in templates See #2509 --- .../install/files/lib/form/AbstractFormBuilderForm.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/form/AbstractFormBuilderForm.class.php b/wcfsetup/install/files/lib/form/AbstractFormBuilderForm.class.php index f6a590d9ee..1544d95d19 100644 --- a/wcfsetup/install/files/lib/form/AbstractFormBuilderForm.class.php +++ b/wcfsetup/install/files/lib/form/AbstractFormBuilderForm.class.php @@ -60,7 +60,8 @@ abstract class AbstractFormBuilderForm extends AbstractForm { WCF::getTPL()->assign([ 'action' => $this->formAction === 'create' ? 'add' : 'edit', - 'form' => $this->form + 'form' => $this->form, + 'formObject' => $this->formObject ]); } -- 2.20.1