From: Fabii547 Date: Thu, 9 Sep 2021 08:28:36 +0000 (+0200) Subject: Fix writing `runStandalone` attribute to package.xml X-Git-Tag: 5.4.8_dev_1~33^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b9d371f6af3bc581135c1efa1df06c395c83ab80;p=GitHub%2FWoltLab%2FWCF.git Fix writing `runStandalone` attribute to package.xml --- 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'])) {