Code Duplication    Length = 7-7 lines in 2 locations

admin/gateways/pec24/nusoap.php 2 locations

@@ 7253-7259 (lines=7) @@
7250
        } else {
7251
            $this->message[$pos]['namespace'] = $this->default_namespace;
7252
        }
7253
        if ($this->status === 'header') {
7254
            if ($this->root_header != $pos) {
7255
                $this->responseHeaders .= '<' . (isset($prefix) ? $prefix . ':' : '') . "$name$attstr>";
7256
            }
7257
        } elseif ($this->root_struct_name != '') {
7258
            $this->document .= '<' . (isset($prefix) ? $prefix . ':' : '') . "$name$attstr>";
7259
        }
7260
    }
7261
7262
    /**
@@ 7347-7353 (lines=7) @@
7344
        }
7345
7346
        // for doclit
7347
        if ($this->status === 'header') {
7348
            if ($this->root_header != $pos) {
7349
                $this->responseHeaders .= '</' . (isset($prefix) ? $prefix . ':' : '') . "$name>";
7350
            }
7351
        } elseif ($pos >= $this->root_struct) {
7352
            $this->document .= '</' . (isset($prefix) ? $prefix . ':' : '') . "$name>";
7353
        }
7354
        // switch status
7355
        if ($pos == $this->root_struct) {
7356
            $this->status                = 'body';