Code Duplication    Length = 3-3 lines in 2 locations

admin/gateways/pec24/nusoap.php 2 locations

@@ 5140-5142 (lines=3) @@
5137
            $tr                 = new soap_transport_http($wsdl, $this->curl_options, $this->use_curl);
5138
            $tr->request_method = 'GET';
5139
            $tr->useSOAPAction  = false;
5140
            if ($this->proxyhost && $this->proxyport) {
5141
                $tr->setProxy($this->proxyhost, $this->proxyport, $this->proxyusername, $this->proxypassword);
5142
            }
5143
            if ($this->authtype != '') {
5144
                $tr->setCredentials($this->username, $this->password, $this->authtype, array(), $this->certRequest);
5145
            }
@@ 8081-8083 (lines=3) @@
8078
                }
8079
                $http->setContentType($this->getHTTPContentType(), $this->getHTTPContentTypeCharset());
8080
                $http->setSOAPAction($soapaction);
8081
                if ($this->proxyhost && $this->proxyport) {
8082
                    $http->setProxy($this->proxyhost, $this->proxyport, $this->proxyusername, $this->proxypassword);
8083
                }
8084
                if ($this->authtype !== '') {
8085
                    $http->setCredentials($this->username, $this->password, $this->authtype, array(), $this->certRequest);
8086
                }