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.1.0_Alpha_1~69 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=08dceba6b57f67f52a943d65be395ae77de2691f;p=GitHub%2FWoltLab%2FWCF.git Allow updating pages' options and permissions via PIP Close #2368 --- 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 88ba4f4ec2..cafba51e56 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/PagePackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/PagePackageInstallationPlugin.class.php @@ -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'] ]); }