Allow updating pages' options and permissions via PIP
authorMatthias Schmidt <gravatronics@live.com>
Mon, 7 Aug 2017 16:27:41 +0000 (18:27 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Mon, 7 Aug 2017 16:27:41 +0000 (18:27 +0200)
Close #2368

wcfsetup/install/files/lib/system/package/plugin/PagePackageInstallationPlugin.class.php

index 88ba4f4ec2b3d6dde5b11ceb5ea8b39a30751dc8..cafba51e56ec7eadbeda9a254a6a70dbf444c4f9 100644 (file)
@@ -271,6 +271,8 @@ class PagePackageInstallationPlugin extends AbstractXMLPackageInstallationPlugin
                                $page = parent::import($row, [
                                        'controller' => $data['controller'],
                                        'handler' => $data['handler'],
+                                       'options' => $data['options'],
+                                       'permissions' => $data['permissions'],
                                        'excludeFromLandingPage' => $data['excludeFromLandingPage']
                                ]);
                        }