Fix `showOrder` handling of user profile menu PIP GUI
authorMatthias Schmidt <gravatronics@live.com>
Sun, 14 Oct 2018 12:18:39 +0000 (14:18 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 14 Oct 2018 12:18:39 +0000 (14:18 +0200)
See #2545

wcfsetup/install/files/lib/system/package/plugin/UserProfileMenuPackageInstallationPlugin.class.php

index c6203cfa188214bef9586f1cbc36d4ef05846377..a51ab44af002642cb8691aa50e837ae218e8f290 100644 (file)
@@ -199,9 +199,6 @@ class UserProfileMenuPackageInstallationPlugin extends AbstractXMLPackageInstall
                if ($showOrder) {
                        $data['showOrder'] = intval($showOrder->nodeValue);
                }
-               else {
-                       $data['showOrder'] = null;
-               }
                
                return $data;
        }