From: Matthias Schmidt Date: Sun, 14 Oct 2018 12:18:39 +0000 (+0200) Subject: Fix `showOrder` handling of user profile menu PIP GUI X-Git-Tag: 5.2.0_Alpha_1~632 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=713c2fb7a7afc1675a832b91bc4dbdffb60bddb8;p=GitHub%2FWoltLab%2FWCF.git Fix `showOrder` handling of user profile menu PIP GUI See #2545 --- diff --git a/wcfsetup/install/files/lib/system/package/plugin/UserProfileMenuPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/UserProfileMenuPackageInstallationPlugin.class.php index c6203cfa18..a51ab44af0 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/UserProfileMenuPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/UserProfileMenuPackageInstallationPlugin.class.php @@ -199,9 +199,6 @@ class UserProfileMenuPackageInstallationPlugin extends AbstractXMLPackageInstall if ($showOrder) { $data['showOrder'] = intval($showOrder->nodeValue); } - else { - $data['showOrder'] = null; - } return $data; }