Allow updating pages' options and permissions via PIP
authorMatthias Schmidt <gravatronics@live.com>
Mon, 7 Aug 2017 16:27:41 +0000 (18:27 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 9 Oct 2017 15:05:46 +0000 (17:05 +0200)
Backport of 08dceba6b57f67f52a943d65be395ae77de2691f

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

index f47bbf9a533bcdb3191fa17814476783d625415a..c64158cbf52d780d786cf98b81c4e22b370b0e75 100644 (file)
@@ -256,7 +256,9 @@ class PagePackageInstallationPlugin extends AbstractXMLPackageInstallationPlugin
                        if (!empty($data['controller'])) {
                                $page = parent::import($row, [
                                        'controller' => $data['controller'],
-                                       'handler' => $data['handler']
+                                       'handler' => $data['handler'],
+                                       'options' => $data['options'],
+                                       'permissions' => $data['permissions']
                                ]);
                        }
                        else {