Code Duplication    Length = 3-3 lines in 2 locations

admin/gateways/pec24/nusoap.php 2 locations

@@ 5120-5122 (lines=3) @@
5117
            $tr                 = new soap_transport_http($wsdl, $this->curl_options, $this->use_curl);
5118
            $tr->request_method = 'GET';
5119
            $tr->useSOAPAction  = false;
5120
            if ($this->proxyhost && $this->proxyport) {
5121
                $tr->setProxy($this->proxyhost, $this->proxyport, $this->proxyusername, $this->proxypassword);
5122
            }
5123
            if ($this->authtype != '') {
5124
                $tr->setCredentials($this->username, $this->password, $this->authtype, array(), $this->certRequest);
5125
            }
@@ 8065-8067 (lines=3) @@
8062
                }
8063
                $http->setContentType($this->getHTTPContentType(), $this->getHTTPContentTypeCharset());
8064
                $http->setSOAPAction($soapaction);
8065
                if ($this->proxyhost && $this->proxyport) {
8066
                    $http->setProxy($this->proxyhost, $this->proxyport, $this->proxyusername, $this->proxypassword);
8067
                }
8068
                if ($this->authtype !== '') {
8069
                    $http->setCredentials($this->username, $this->password, $this->authtype, array(), $this->certRequest);
8070
                }