Code Duplication    Length = 6-6 lines in 2 locations

admin/gateways/pec24/nusoap.php 2 locations

@@ 3929-3934 (lines=6) @@
3926
            $this->debug_flag = $debug;
3927
        } elseif (isset($_SERVER['QUERY_STRING'])) {
3928
            $qs = explode('&', $_SERVER['QUERY_STRING']);
3929
            foreach ($qs as $v) {
3930
                if (substr($v, 0, 6) === 'debug=') {
3931
                    $this->debug('In nusoap_server, set debug_flag=' . substr($v, 6) . ' based on query string #1');
3932
                    $this->debug_flag = substr($v, 6);
3933
                }
3934
            }
3935
        } elseif (isset($HTTP_SERVER_VARS['QUERY_STRING'])) {
3936
            $qs = explode('&', $HTTP_SERVER_VARS['QUERY_STRING']);
3937
            foreach ($qs as $v) {
@@ 3937-3942 (lines=6) @@
3934
            }
3935
        } elseif (isset($HTTP_SERVER_VARS['QUERY_STRING'])) {
3936
            $qs = explode('&', $HTTP_SERVER_VARS['QUERY_STRING']);
3937
            foreach ($qs as $v) {
3938
                if (substr($v, 0, 6) === 'debug=') {
3939
                    $this->debug('In nusoap_server, set debug_flag=' . substr($v, 6) . ' based on query string #2');
3940
                    $this->debug_flag = substr($v, 6);
3941
                }
3942
            }
3943
        }
3944
3945
        // wsdl