From 3a652e9a4ee6abe0492fe0124795ec8dc8e1343a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joshua=20R=C3=BCsweg?= Date: Tue, 15 Jan 2019 23:35:50 +0100 Subject: [PATCH] Add `value` method See #2825 --- .../builder/field/UploadFormField.class.php | 21 ++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/wcfsetup/install/files/lib/system/form/builder/field/UploadFormField.class.php b/wcfsetup/install/files/lib/system/form/builder/field/UploadFormField.class.php index 690cdded14..9046e971ab 100644 --- a/wcfsetup/install/files/lib/system/form/builder/field/UploadFormField.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/field/UploadFormField.class.php @@ -1,6 +1,5 @@ registerField(); + + UploadHandler::getInstance()->registerFilesForField($this->getId(), $value); } /** -- 2.20.1