Properly fetching stored login credentials for target package server
authorAlexander Ebert <ebert@woltlab.com>
Wed, 26 Feb 2014 13:05:19 +0000 (14:05 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 26 Feb 2014 13:05:19 +0000 (14:05 +0100)
wcfsetup/install/files/lib/system/package/PackageUpdateDispatcher.class.php

index fd6a7f3c23a128c13bb57361a20660c7ae095fea..fad28b5c9859145a8d1471bfce1c4fd86c205962 100644 (file)
@@ -717,7 +717,7 @@ class PackageUpdateDispatcher extends SingletonFactory {
                
                // get versions
                $versions = array();
-               $sql = "SELECT          puv.*, pu.*
+               $sql = "SELECT          puv.*, pu.*, pus.loginUsername, pus.loginPassword
                        FROM            wcf".WCF_N."_package_update_version puv
                        LEFT JOIN       wcf".WCF_N."_package_update pu
                        ON              (pu.packageUpdateID = puv.packageUpdateID)