last follow-up in em with TER upload
authorSteffen Kamper <info@sk-typo3.de>
Thu, 13 Jan 2011 01:19:38 +0000 (01:19 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Thu, 13 Jan 2011 01:19:38 +0000 (01:19 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@10060 709f56b5-9817-0410-a4d7-c38de5d9e867

typo3/sysext/em/classes/connection/class.tx_em_connection_extdirectserver.php

index bdd60c1..b78c443 100644 (file)
@@ -407,8 +407,8 @@ class tx_em_Connection_ExtDirectServer {
         * @return array
         */
        public function uploadExtToTer($parameter) {
-               $temp = $this->getRepositories(TRUE);
-               $wsdlURL = $temp['data'][0]['wsdl_url'];
+               $repository = $this->getSelectedRepository();
+               $wsdlURL = $repository['wsdl_url'];
 
                $parameter['user']['fe_u'] = $parameter['fe_u'];
                $parameter['user']['fe_p'] = $parameter['fe_p'];