From: Matthias Schmidt Date: Sun, 14 Apr 2019 14:34:24 +0000 (+0200) Subject: Make object edited via form builder available in templates X-Git-Tag: 5.2.0_Alpha_1~143 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a7b07870f2685775a95a2a438b9a9deac89e37ca;p=GitHub%2FWoltLab%2FWCF.git Make object edited via form builder available in templates See #2509 --- 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 ]); }