Code Duplication    Length = 3-3 lines in 2 locations

admin/gateways/pec24/nusoap.php 2 locations

@@ 4862-4864 (lines=3) @@
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
            }
4865
            $tr->setEncoding('gzip, deflate');
4866
            $wsdl_string = $tr->send('', $this->timeout, $this->response_timeout);
4867
            //$this->debug("WSDL request\n" . $tr->outgoing_payload);
@@ 7698-7700 (lines=3) @@
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
                }
7701
                if ($this->http_encoding != '') {
7702
                    $http->setEncoding($this->http_encoding);
7703
                }