From 14ade6e492594b460efd14ba23d967db7a8d0849 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Mon, 7 Aug 2017 18:27:41 +0200 Subject: [PATCH] Allow updating pages' options and permissions via PIP Backport of 08dceba6b57f67f52a943d65be395ae77de2691f --- .../package/plugin/PagePackageInstallationPlugin.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/package/plugin/PagePackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/PagePackageInstallationPlugin.class.php index f47bbf9a53..c64158cbf5 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/PagePackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/PagePackageInstallationPlugin.class.php @@ -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 { -- 2.20.1