Code Duplication    Length = 6-6 lines in 2 locations

admin/gateways/pec24/nusoap.php 2 locations

@@ 3906-3911 (lines=6) @@
3903
            $this->debug_flag = $debug;
3904
        } elseif (isset($_SERVER['QUERY_STRING'])) {
3905
            $qs = explode('&', $_SERVER['QUERY_STRING']);
3906
            foreach ($qs as $v) {
3907
                if (substr($v, 0, 6) === 'debug=') {
3908
                    $this->debug('In nusoap_server, set debug_flag=' . substr($v, 6) . ' based on query string #1');
3909
                    $this->debug_flag = substr($v, 6);
3910
                }
3911
            }
3912
        } elseif (isset($HTTP_SERVER_VARS['QUERY_STRING'])) {
3913
            $qs = explode('&', $HTTP_SERVER_VARS['QUERY_STRING']);
3914
            foreach ($qs as $v) {
@@ 3914-3919 (lines=6) @@
3911
            }
3912
        } elseif (isset($HTTP_SERVER_VARS['QUERY_STRING'])) {
3913
            $qs = explode('&', $HTTP_SERVER_VARS['QUERY_STRING']);
3914
            foreach ($qs as $v) {
3915
                if (substr($v, 0, 6) === 'debug=') {
3916
                    $this->debug('In nusoap_server, set debug_flag=' . substr($v, 6) . ' based on query string #2');
3917
                    $this->debug_flag = substr($v, 6);
3918
                }
3919
            }
3920
        }
3921
3922
        // wsdl