Code Duplication    Length = 6-6 lines in 2 locations

admin/gateways/pec24/nusoap.php 2 locations

@@ 3704-3709 (lines=6) @@
3701
            $this->debug_flag = $debug;
3702
        } elseif (isset($_SERVER['QUERY_STRING'])) {
3703
            $qs = explode('&', $_SERVER['QUERY_STRING']);
3704
            foreach ($qs as $v) {
3705
                if (substr($v, 0, 6) == 'debug=') {
3706
                    $this->debug("In nusoap_server, set debug_flag=" . substr($v, 6) . " based on query string #1");
3707
                    $this->debug_flag = substr($v, 6);
3708
                }
3709
            }
3710
        } elseif (isset($HTTP_SERVER_VARS['QUERY_STRING'])) {
3711
            $qs = explode('&', $HTTP_SERVER_VARS['QUERY_STRING']);
3712
            foreach ($qs as $v) {
@@ 3712-3717 (lines=6) @@
3709
            }
3710
        } elseif (isset($HTTP_SERVER_VARS['QUERY_STRING'])) {
3711
            $qs = explode('&', $HTTP_SERVER_VARS['QUERY_STRING']);
3712
            foreach ($qs as $v) {
3713
                if (substr($v, 0, 6) == 'debug=') {
3714
                    $this->debug("In nusoap_server, set debug_flag=" . substr($v, 6) . " based on query string #2");
3715
                    $this->debug_flag = substr($v, 6);
3716
                }
3717
            }
3718
        }
3719
3720
        // wsdl