Code Duplication    Length = 4-4 lines in 2 locations

admin/gateways/pec24/nusoap.php 2 locations

@@ 1314-1317 (lines=4) @@
1311
                            $this->namespaces['ns'.(count($this->namespaces)+1)] = $v;
1312
                        }
1313
                    }
1314
                    if ($v == 'http://www.w3.org/2001/XMLSchema' || $v == 'http://www.w3.org/1999/XMLSchema' || $v == 'http://www.w3.org/2000/10/XMLSchema') {
1315
                        $this->XMLSchemaVersion = $v;
1316
                        $this->namespaces['xsi'] = $v.'-instance';
1317
                    }
1318
                }
1319
            }
1320
            foreach ($attrs as $k => $v) {
@@ 4980-4983 (lines=4) @@
4977
                        } else {
4978
                            $this->namespaces['ns' . (count($this->namespaces) + 1)] = $v;
4979
                        }
4980
                        if ($v == 'http://www.w3.org/2001/XMLSchema' || $v == 'http://www.w3.org/1999/XMLSchema' || $v == 'http://www.w3.org/2000/10/XMLSchema') {
4981
                            $this->XMLSchemaVersion = $v;
4982
                            $this->namespaces['xsi'] = $v . '-instance';
4983
                        }
4984
                    }
4985
                }
4986
                // expand each attribute prefix to its namespace