From b9d371f6af3bc581135c1efa1df06c395c83ab80 Mon Sep 17 00:00:00 2001 From: Fabii547 Date: Thu, 9 Sep 2021 10:28:36 +0200 Subject: [PATCH] Fix writing `runStandalone` attribute to package.xml --- .../system/devtools/package/DevtoolsPackageXmlWriter.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/devtools/package/DevtoolsPackageXmlWriter.class.php b/wcfsetup/install/files/lib/system/devtools/package/DevtoolsPackageXmlWriter.class.php index 7ca02fba80..e3789b0b79 100644 --- a/wcfsetup/install/files/lib/system/devtools/package/DevtoolsPackageXmlWriter.class.php +++ b/wcfsetup/install/files/lib/system/devtools/package/DevtoolsPackageXmlWriter.class.php @@ -173,7 +173,7 @@ class DevtoolsPackageXmlWriter foreach ($instructions['instructions'] as $instruction) { $attributes = ['type' => $instruction['pip']]; - if (!isset($instruction['runStandalone']) && $instruction['runStandalone'] !== "0") { + if (isset($instruction['runStandalone']) && $instruction['runStandalone'] !== "0") { $attributes['run'] = 'standalone'; } if (!empty($instruction['application'])) { -- 2.20.1