From b14b6e9a950d78cafc12743651989e18af01f8f1 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sat, 28 Sep 2019 14:54:24 +0200 Subject: [PATCH] Fix missing language item entries because of PIP GUI --- .../package/plugin/ACLOptionPackageInstallationPlugin.class.php | 2 +- .../plugin/AbstractOptionPackageInstallationPlugin.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/lib/system/package/plugin/ACLOptionPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/ACLOptionPackageInstallationPlugin.class.php index 8341605b03..64e4b2f804 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/ACLOptionPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/ACLOptionPackageInstallationPlugin.class.php @@ -404,7 +404,7 @@ class ACLOptionPackageInstallationPlugin extends AbstractOptionPackageInstallati ->objectProperty('objecttype') ->label('wcf.acp.pip.aclOption.objectType') ->description('wcf.acp.pip.aclOption.objectType.' . $this->entryType . '.description') - ->options($objectTypes) + ->options($objectTypes, false, false) ->required() ->addValidator(new FormFieldValidator('nameUniqueness', function(SingleSelectionFormField $formField) use($entryType) { /** @var TextFormField $nameField */ diff --git a/wcfsetup/install/files/lib/system/package/plugin/AbstractOptionPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/AbstractOptionPackageInstallationPlugin.class.php index 4a96e29b7c..fb5d269860 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/AbstractOptionPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/AbstractOptionPackageInstallationPlugin.class.php @@ -518,7 +518,7 @@ abstract class AbstractOptionPackageInstallationPlugin extends AbstractXMLPackag } return $options; - }, true), + }, true, false), SingleSelectionFormField::create('optionType') ->objectProperty('optiontype') -- 2.20.1