Code Duplication    Length = 5-5 lines in 2 locations

admin/gateways/pec24/nusoap.php 2 locations

@@ 7431-7435 (lines=5) @@
7428
        if ($headers) {
7429
            $this->requestHeaders = $headers;
7430
        }
7431
        if ($this->endpointType == 'wsdl' && is_null($this->wsdl)) {
7432
            $this->loadWSDL();
7433
            if ($this->getError())
7434
                return false;
7435
        }
7436
        // serialize parameters
7437
        if ($this->endpointType == 'wsdl' && $opData = $this->getOperationData($operation)) {
7438
            // use WSDL for operation
@@ 7653-7657 (lines=5) @@
7650
    * @access   public
7651
    */
7652
    function getOperationData($operation){
7653
        if ($this->endpointType == 'wsdl' && is_null($this->wsdl)) {
7654
            $this->loadWSDL();
7655
            if ($this->getError())
7656
                return false;
7657
        }
7658
        if (isset($this->operations[$operation])) {
7659
            return $this->operations[$operation];
7660
        }