Fix missing language item entries because of PIP GUI
authorMatthias Schmidt <gravatronics@live.com>
Sat, 28 Sep 2019 12:54:24 +0000 (14:54 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sat, 28 Sep 2019 12:54:24 +0000 (14:54 +0200)
wcfsetup/install/files/lib/system/package/plugin/ACLOptionPackageInstallationPlugin.class.php
wcfsetup/install/files/lib/system/package/plugin/AbstractOptionPackageInstallationPlugin.class.php

index 8341605b03b216b5776912052608c60d8f017960..64e4b2f8048384503ce5592e28d5357dd5e180af 100644 (file)
@@ -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 */
index 4a96e29b7c99dd2fd198b05fec525226a2c7d874..fb5d2698600a680697572eed10bc9830ccfab1ac 100644 (file)
@@ -518,7 +518,7 @@ abstract class AbstractOptionPackageInstallationPlugin extends AbstractXMLPackag
                                                        }
                                                        
                                                        return $options;
-                                               }, true),
+                                               }, true, false),
                                        
                                        SingleSelectionFormField::create('optionType')
                                                ->objectProperty('optiontype')