From: Matthias Schmidt Date: Mon, 7 Aug 2017 16:27:41 +0000 (+0200) Subject: Allow updating pages' options and permissions via PIP X-Git-Tag: 3.0.10~10 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=14ade6e492594b460efd14ba23d967db7a8d0849;p=GitHub%2FWoltLab%2FWCF.git Allow updating pages' options and permissions via PIP Backport of 08dceba6b57f67f52a943d65be395ae77de2691f --- 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 {