Code Duplication    Length = 3-3 lines in 2 locations

admin/gateways/pec24/nusoap.php 2 locations

@@ 4859-4861 (lines=3) @@
4856
            $tr = new soap_transport_http($wsdl, $this->curl_options, $this->use_curl);
4857
            $tr->request_method = 'GET';
4858
            $tr->useSOAPAction = false;
4859
            if ($this->proxyhost && $this->proxyport) {
4860
                $tr->setProxy($this->proxyhost,$this->proxyport,$this->proxyusername,$this->proxypassword);
4861
            }
4862
            if ($this->authtype != '') {
4863
                $tr->setCredentials($this->username, $this->password, $this->authtype, array(), $this->certRequest);
4864
            }
@@ 7695-7697 (lines=3) @@
7692
                }
7693
                $http->setContentType($this->getHTTPContentType(), $this->getHTTPContentTypeCharset());
7694
                $http->setSOAPAction($soapaction);
7695
                if ($this->proxyhost && $this->proxyport) {
7696
                    $http->setProxy($this->proxyhost,$this->proxyport,$this->proxyusername,$this->proxypassword);
7697
                }
7698
                if ($this->authtype != '') {
7699
                    $http->setCredentials($this->username, $this->password, $this->authtype, array(), $this->certRequest);
7700
                }