Swap the parameters `$application` and `$template`
authorCyperghost <olaf_schmitz_1@t-online.de>
Wed, 26 Jun 2024 08:58:19 +0000 (10:58 +0200)
committerCyperghost <olaf_schmitz_1@t-online.de>
Wed, 26 Jun 2024 08:58:19 +0000 (10:58 +0200)
wcfsetup/install/files/lib/system/form/builder/field/FileProcessorFormField.class.php

index 44b54ebda28c804b04e29d863eda734453f2f62c..62b6dc3482b373f9654800bf8e870bdceca0892d 100644 (file)
@@ -180,8 +180,8 @@ final class FileProcessorFormField extends AbstractFormField
     public function addActionButton(
         string $actionName,
         string $title,
-        string $application,
         string $template,
+        string $application = 'wcf',
         ?IFontAwesomeIcon $icon = null
     ): self {
         $this->actionButtons[] = [