Code Duplication    Length = 3-3 lines in 2 locations

admin/gateways/pec24/nusoap.php 2 locations

@@ 5143-5145 (lines=3) @@
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
            }
5146
            $tr->setEncoding('gzip, deflate');
5147
            $wsdl_string = $tr->send('', $this->timeout, $this->response_timeout);
5148
            //$this->debug("WSDL request\n" . $tr->outgoing_payload);
@@ 8084-8086 (lines=3) @@
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
                }
8087
                if ($this->http_encoding !== '') {
8088
                    $http->setEncoding($this->http_encoding);
8089
                }