Code Duplication    Length = 6-6 lines in 2 locations

admin/gateways/pec24/nusoap.php 2 locations

@@ 6088-6093 (lines=6) @@
6085
6086
        // Get encoding style for output and set to current
6087
        $encodingStyle = 'http://schemas.xmlsoap.org/soap/encoding/';
6088
        if (($direction === 'input') && isset($opData['output']['encodingStyle'])
6089
            && ($opData['output']['encodingStyle'] != $encodingStyle)) {
6090
            $encodingStyle = $opData['output']['encodingStyle'];
6091
            $enc_style     = $encodingStyle;
6092
        }
6093
6094
        // set input params
6095
        $xml = '';
6096
        if (isset($opData[$direction]['parts']) && count($opData[$direction]['parts']) > 0) {
@@ 6196-6201 (lines=6) @@
6193
6194
        // Get encoding style for output and set to current
6195
        $encodingStyle = 'http://schemas.xmlsoap.org/soap/encoding/';
6196
        if (($direction === 'input') && isset($opData['output']['encodingStyle'])
6197
            && ($opData['output']['encodingStyle'] != $encodingStyle)) {
6198
            $encodingStyle = $opData['output']['encodingStyle'];
6199
            $enc_style     = $encodingStyle;
6200
        }
6201
6202
        // set input params
6203
        $xml = '';
6204
        if (isset($opData[$direction]['parts']) && count($opData[$direction]['parts']) > 0) {